Module Names disappearing again?

Pete your first link near the top pointed to the correct page that says this:
Follow the instruction to add the Mono repository to your system (only add the repository, do not install mono ). If you already have a previous version of mono installed, upgrade it by running sudo apt-get upgrade .

Install HomeGenie Server by entering the following commands:

wget https://github.com/genielabs/HomeGenie/releases/download/v1.3-stable.19/homegenie_1.3-stable.19_all.deb
sudo apt-get update
sudo apt-get install gdebi-core
sudo gdebi homegenie_1.3-stable.19_all.deb

Indeed but many users have skipped that link, which is easy to miss and as a result end up with a version of Mono at least one or more full releases behind. Believe me, this is happening.

I really simplified the copy/paste instructions so nothing was left in doubt. Normally I’d just do a couple of basic links and leave it to the user to follow from there.

Halr, the upgrade command on buster is what took 3 hours. It was like 20 pages of downloaded files, looking at the file names it looks like this upgrade replaced all 7gb of buster! My dwnld speed was very slow compared to most people; we live in the middle of nowhere; router showed it as avg about 1.5mb/s which is probably accurate. Your speed on spectrum or equiv is probably 100x faster. Why it took so long.

Just finished loading the mono repository and in middle of loading HG finally… I too am following the HG instructions (https://genielabs.github.io/HomeGenie/#/get_started) so see it should be where you said but not installed enough to see yet.

I don’t think you will find it after the install. At first I thought PI did not have access to it so I logged in as root and still cannot see it anywhere…

root@raspberrypi:/home# pwd
/home
root@raspberrypi:/home# ls -la
total 12
drwxr-xr-x 3 root root 4096 Aug 20 03:31 .
drwxr-xr-x 21 root root 4096 Aug 20 03:47 …
drwxr-xr-x 3 pi pi 4096 Dec 1 09:56 pi
root@raspberrypi:/home#

under PI, I simply see this:

root@raspberrypi:/home# cd pi
root@raspberrypi:/home/pi# ls -la
total 8036
drwxr-xr-x 3 pi pi 4096 Dec 1 09:56 .
drwxr-xr-x 3 root root 4096 Aug 20 03:31 …
-rw------- 1 pi pi 845 Dec 1 10:19 .bash_history
-rw-r–r-- 1 pi pi 220 Aug 20 03:31 .bash_logout
-rw-r–r-- 1 pi pi 3523 Aug 20 03:31 .bashrc
drwx------ 3 pi pi 4096 Dec 1 08:44 .gnupg
-rw-r–r-- 1 pi pi 8193754 Sep 10 02:43 homegenie_1.3-stable.19_all.deb
-rw-r–r-- 1 pi pi 807 Aug 20 03:31 .profile
-rw-r–r-- 1 pi pi 165 Dec 1 09:56 .wget-hsts
root@raspberrypi:/home/pi#

So their is no homegenie directory created like it did in a windows install. Of course maybe this is the difference between raspberry lite versus desktop…

I use a free program called WinSCP to see all the directories in easy to read fashion. Mine just finished installing HG so I will look and tell you where it is…\

I know Winscp well. Used it for many years…

Ok.Just to confirm

1.Links have been updated in my original installation instructions to reflect HG 1.3 Stable v19

  1. All system files can be found at /usr/local/bin/homegenie after installation.

I’ve no control over slow download speeds, faulty SD cards or versions of Raspberry Pi boards used. I did recommend using a RPI3+b for stable operation. I did highlight downloading the Raspberry PI OS Lite so there’s no way a full desktop version could appear after an update.

I think I provided enough instructions for even the most basic user to get HG up and running on the Raspberry Pi/

image

Yes you did! I just confirmed operations on my RP4 with this setup using HG and the X10 module with a CM19A transciever. Light on/off operational! Thanks for the explanations.
As for confusion, the original link you pointed to but do not maintain is wrong when it states for the raspberry PI installation that the home will be home/homegenie. It should be changed to /usr/local/bin where indeed everything exists! Thanks again!

pi@raspberrypi:/etc $ cd /usr/local/bin
pi@raspberrypi:/usr/local/bin $ ls
homegenie
pi@raspberrypi:/usr/local/bin $ cd h*
pi@raspberrypi:/usr/local/bin/homegenie $ ls
automationgroups.xml
certaccept.xml
CM19Lib.xml
CommonMark.dll
CommonMark.pdb
CommonMark.xml
CREDITS.TXT
CronExpressionDescriptor.dll
de
DEBIAN
es
fr
groups.xml
HomeGenie.exe
HomeGenie.exe.config
homegenie_factory_config.zip
HomeGenie.pdb
homegenie_stats.db
html
ICSharpCode.SharpZipLib.dll
ICSharpCode.SharpZipLib.xml
Innovative.Geometry.Angle.dll
Innovative.Geometry.Angle.xml
Innovative.SolarCalculator.dll
Innovative.SolarCalculator.xml
installed_packages.json
IronPython.dll
IronPython.Modules.dll
IronPython.Modules.xml
IronPython.SQLite.dll
IronPython.SQLite.xml
IronPython.Wpf.dll
IronPython.Wpf.xml
IronPython.xml
it
Jint.dll
KNXLib.dll
lib
LICENCE.TXT
LICENSE_GPLV3.TXT
LiteDB.dll
LiteDB.xml
log
Microsoft.Dynamic.dll
Microsoft.Dynamic.xml
Microsoft.Scripting.dll
Microsoft.Scripting.Metadata.dll
Microsoft.Scripting.Metadata.xml
Microsoft.Scripting.xml
MIG.dll
modules.xml
MQTTnet.dll
NCrontab.dll
NCrontab.pdb
NetClientLib.dll
NetClientLib.pdb
Newtonsoft.Json.dll
Newtonsoft.Json.xml
nl
NLog.config
NLog.dll
NLog.xml
no
pl
programs
programs.xml
pt
Raspberry.IO.Components.dll
Raspberry.IO.Components.dll.config
Raspberry.IO.dll
Raspberry.IO.GeneralPurpose.dll
Raspberry.IO.InterIntegratedCircuit.dll
Raspberry.IO.Interop.dll
Raspberry.IO.SerialPeripheralInterface.dll
Raspberry.System.dll
Raspberry.System.pdb
Raspberry.System.xml
README.TXT
release_info.xml
ro
ru
scheduler.xml
SerialPortLib.dll
SerialPortLib.xml
serviceaddress.txt
sqlite3.dll
startup_debug.sh
startup.sh
SuperSocket.ClientEngine.dll
sv
systemconfig.xml
System.Net.Security.dll
System.Net.WebSockets.Client.dll
System.Net.WebSockets.dll
System.Security.Cryptography.Algorithms.dll
System.Security.Cryptography.Encoding.dll
System.Security.Cryptography.Primitives.dll
System.Security.Cryptography.X509Certificates.dll
tmp
tr
Ude.dll
uk
UPnP.dll
WebSocket4Net.dll
websocket-sharp.dll
websocket-sharp.xml
XTenLib.xml
zh-CHS
ZWaveLib.xml

You’re welcome. That’s me done on this subject.

Time to reopen this: my ZW pi stopped communicating on network sometime between 5pm yesterday and 10am this morning. Ping could not find it. I assume it died between 6am and 10am today as HG DID disarm the alarm. HG just keeps posting ‘event stream disconnected.’ Green lite solid on (normal) on the pi.

Cycled power to it to get it back. Now HG again has lost names on ALL x10 sensors, not just security modules. OpenWeather lost all its settings and it is back to default UK location, no key. e-mail tester program fails with ‘missing email address.’ HG email account back empty. Guess only my groups remained unchanged.

Thankfully a restore brought everything back.

So I guess this proves my old SD system was perfectly fine as this new HG only card looses all the HG data also.

Since others do not seem to have this issue of loosing all the customer data in HG, perhaps HG has grown to the point of requiring that fancier pi and the zero W is just too weak a performer? I wonder if anyone else is still using a model ZERO W?

Please see the following post Raspberry pi 3B+ or 4 for HG?

I only had this issue when I first started playing with HG. I suspect it was due to the cheap SD 4 gig card I was using at the time. I have no idea what class it was but suspect it was slower then a class 6 it had no markings indicating the class. Moving to a larger faster SD card has in any case stopped me from experiacing this issue.

Resurrecting this with a newly received Pi4… It would NOT read my ZERO w Pi so I had to burn a new raw buster 8-20-2020 SD card. It fails on updating with the first line of mono code from Pete 11/30 how to install mono:

sudo apt install apt-transport-https dirmngr gnupg ca-certificates

Failure is:
pi@raspberrypi4:~ $ sudo apt install apt-transport-https dirmngr gnupg ca-certificates
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/mono-official-stable.list
E: The list of sources could not be read.
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/mono-official-stable.list
E: The list of sources could not be read.
pi@raspberrypi4:~ $

Is this important? I plan to just keep going down Pete’s list and see if HG gets installed and runs…

Further, since first line of upgrade is wrong with “deb,” nothing else works as expected.

pi@raspberrypi4:~ $ sudo apt-get update
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/mono-official-stable.list
E: The list of sources could not be read.
pi@raspberrypi4:~ $
pi@raspberrypi4:~ $ sudo apt-get install gdebi-core
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/mono-official-stable.list
E: The list of sources could not be read.
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/mono-official-stable.list
E: The list of sources could not be read.
pi@raspberrypi4:~ $
pi@raspberrypi4:~ $ sudo gdebi homegenie_1.3-stable.19_all.deb
sudo: gdebi: command not found
pi@raspberrypi4:~ $

It did download HG ver 19 fine tho:
pi@raspberrypi4:~ $ sudo apt update
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/mono-official-stable.list
E: The list of sources could not be read.
pi@raspberrypi4:~ $ wget https://github.com/genielabs/HomeGenie/releases/download/v1.3-stable.19/homegenie_1.3-stable.19_all.deb
–2020-12-13 16:01:06-- https://github.com/genielabs/HomeGenie/releases/download/v1.3-stable.19/homegenie_1.3-stable.19_all.deb
Resolving github.com (github.com)… 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/17072697/d981f380-f35a-11ea-88c4-eb27cbe5c77d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201213T210108Z&X-Amz-Expires=300&X-Amz-Signature=da9dc6f79e3faecf09eb15b2cde5cd7390b305f52328132e80a9f74e5dcbba43&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=17072697&response-content-disposition=attachment%3B%20filename%3Dhomegenie_1.3-stable.19_all.deb&response-content-type=application%2Foctet-stream [following]
–2020-12-13 16:01:08-- https://github-production-release-asset-2e65be.s3.amazonaws.com/17072697/d981f380-f35a-11ea-88c4-eb27cbe5c77d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201213T210108Z&X-Amz-Expires=300&X-Amz-Signature=da9dc6f79e3faecf09eb15b2cde5cd7390b305f52328132e80a9f74e5dcbba43&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=17072697&response-content-disposition=attachment%3B%20filename%3Dhomegenie_1.3-stable.19_all.deb&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)… 52.216.77.188
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.77.188|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 8193754 (7.8M) [application/octet-stream]
Saving to: ‘homegenie_1.3-stable.19_all.deb’

homegenie_1.3-stabl 100%[===================>] 7.81M 103KB/s in 1m 42s

2020-12-13 16:02:51 (78.2 KB/s) - ‘homegenie_1.3-stable.19_all.deb’ saved [8193754/8193754]

pi@raspberrypi4:~ $

But without this program called gdebi-core, it cannot install HG…

I will try deleting this file with wrong ‘deb’ line in hopes it will rebuild it correctly…

So using chown and changing ownership from root to pi, I could not delete the offending etc/file but I could mofify it to be empty - that worked and allowed upgrade and update to work.

Ok down thru to LAST line of installing hg: sudo gdebi homegenie_1.3-stable.19_all.deb

Which fails as:

pi@raspberrypi4:~ $ sudo gdebi homegenie_1.3-stable.19_all.deb
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading state information… Done
Requires the installation of the following packages: binfmt-support ca-certificates-mono cli-common lame libgdiplus libmono-accessibility4.0-cil libmono-btls-interface4.0-cil libmono-corlib4.5-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-ldap4.0-cil libmono-messaging4.0-cil libmono-microsoft-csharp4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-sqlite4.0-cil libmono-system-componentmodel-dataannotations4.0-cil libmono-system-configuration-install4.0-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-data4.0-cil libmono-system-design4.0-cil libmono-system-drawing4.0-cil libmono-system-enterpriseservices4.0-cil libmono-system-identitymodel-selectors4.0-cil libmono-system-identitymodel4.0-cil libmono-system-ldap4.0-cil libmono-system-messaging4.0-cil libmono-system-numerics4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-runtime-serialization4.0-cil libmono-system-security4.0-cil libmono-system-servicemodel-activation4.0-cil libmono-system-servicemodel-internals0.0-cil libmono-system-servicemodel4.0a-cil libmono-system-serviceprocess4.0-cil libmono-system-transactions4.0-cil libmono-system-web-applicationservices4.0-cil libmono-system-web-services4.0-cil libmono-system-web4.0-cil libmono-system-windows-forms4.0-cil libmono-system-xaml4.0-cil libmono-system-xml-linq4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-webbrowser4.0-cil libmono-windowsbase4.0-cil libusb-1.0-0-dev libusb-1.0-doc mono-4.0-gac mono-gac mono-mcs mono-runtime mono-runtime-common mono-runtime-sgen

HomeGenie - open source, programmable, home automation server for smart connected devices and applications.
Do you want to install the software package? [y/N]:Y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
c = findall("[(/\S+[])]", msg)[0].lower()
pi@raspberrypi4:~ $ …

Any ideas?

INTERESTING! Pi4 distinguishies between cap and non caps on the y/n answer! Resending the commmand and using lower case y let it installl… no clue it if works yet tho as out of time today

Well, pi4 installs and indeed runs much much faster than the zero w! HG restore file in zero takes 3-4-5 minutes to restore; here it took maybe 5 seconds.

Research. Look what the error message threw up in a search https://askubuntu.com/questions/1150864/future-warning-with-gdebi-while-installing-some-packages