Page 26 of 30
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:12
by phenix56
Yes, I ran both the apt install commands listed on the github page. I also tried rebooting, also did not work...
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:12
by jvdz
The local paths are still searched as they are still added in dtgbot file in the service definition, but that should interfere when they are removed.
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:15
by phenix56
Okay, so how can I proceed installing this? I think I've tried pretty much everything I can?
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:16
by jvdz
phenix56 wrote: ↑Saturday 02 April 2022 12:12
Yes, I ran both the apt install commands listed on the github page. I also tried rebooting, also did not work...
Strange .... I haven't tested on bullseye so maybe there is an issue there. hope that @simonrg know this....
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:19
by phenix56
OK... Seems like it is set to require those files instead of being optional, judging by the last part of the dtb.log file. Do you know of other things I can try? Already tried removing those packages with apt purge and re-installing them, that also did not work.
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:22
by jvdz
The packages are not optional as they are required to connect to Telegram!
@simonrg changed the scripts to use this standard packages now in the provided release to avoid the need for own compiled libraries.
I am not in position to test bullseye on a RPI with an 64 version so have no idea what to try next and hope somebody with that setup can help.
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:27
by phenix56
I know. I just tried re-installing them to see if that changes anything.
So this is the case: I was running Buster 32-bit. Decided I wanted to upgrade to a newer release, and wy not also get the 64-bit version, for a bit of future proofing, since I have a PI4. Before upgrading, I had the bot running fine, but that was on a 32-bit system.
Seems that simonrg is not verry effective, right? The github repo has not many changes over the last couple of years...
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:34
by jvdz
phenix56 wrote: ↑Saturday 02 April 2022 12:27
Seems that simonrg is not verry effective, right? The github repo has not many changes over the last couple of years...
mmm... I wouldn't say "effective" as that really feels like a wrong word to use here.
He updated the libraries in this simple install last year and I did the stability changes and many other changes in this separate branch.
We just haven't worked on getting all documentation updated and maybe this is a new trigger to complete this.
Re: dtgbot - Domoticz TeleGram BOT
Posted: Saturday 02 April 2022 12:39
by phenix56
I meant to use the word 'active'
Is it even worth upgrading to Buster, since I already have a working install? I mean sooner or later I will need to, but are most of the bugs worked out?
I'll just place back me old SD card for now. One question that I do ave, however, is how power sensors can be displayed using the bot. I saw some possibilities for temperature sensors, but this doesn't work for power sensors (solar panels).
Re: dtgbot - Domoticz TeleGram BOT
Posted: Monday 18 July 2022 20:59
by mkampstra
I had to make a fresh install of my raspberry and so needed to fix domoticz and telegram bot again.
I got these errors in dtb.log.errors
Code: Select all
/usr/bin/lua5.2: error loading module 'ssl.core' from file '/usr/local/lib/lua/5.2/ssl.so':
libssl.so.1.0.0: cannot open shared object file: No such file or directory
stack traceback:
[C]: in ?
[C]: in function 'require'
/usr/local/share/lua/5.2/ssl.lua:7: in main chunk
[C]: in function 'require'
/usr/local/share/lua/5.2/ssl/https.lua:10: in main chunk
[C]: in function 'require'
/home/pi/dtgbot/dtgbot.lua:132: in main chunk
[C]: in ?
I tried to install the missing lib ssl 1.0.0 by trying:
Code: Select all
Edit the sources.list
CODE: SELECT ALL
sudo nano /etc/apt/sources.list
add the next line:
CODE: SELECT ALL
deb http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
Save it with CTRL + X , Y
and then:
CODE: SELECT ALL
sudo apt-get update
sudo apt-get install libssl1.0.0
But unfortunatly that archive website is down and not allowed anymore by security reasons.
Does anyone know how to install dtgbot on Raspbian Buster? Maybe the wiki can be updated by the latest info?
Re: dtgbot - Domoticz TeleGram BOT
Posted: Tuesday 19 July 2022 22:21
by hoeby
Did you try this option to install libssl 1.0.0?
I used it the last time i reinstalled dtgbot
Code: Select all
wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u8_armhf.deb
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u8_armhf.deb
sudo reboot
Re: dtgbot - Domoticz TeleGram BOT
Posted: Wednesday 20 July 2022 17:15
by mkampstra
@hoeby! Thanks, this solved the job. I tried everything to install bij apt-get but could not find the package to install on buster.
This is how to fix a fresh install on buster!
Thanks thank thanks!
Re: dtgbot - Domoticz TeleGram BOT
Posted: Wednesday 20 July 2022 17:25
by mkampstra
On buster the fix to install by apt-get is not working anymore:
Fix by:
hoeby wrote: ↑Tuesday 19 July 2022 22:21
Did you try this option to install libssl 1.0.0?
I used it the last time i reinstalled dtgbot
Code: Select all
wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u8_armhf.deb
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u8_armhf.deb
sudo reboot
thanks to hoeby!
Re: dtgbot - Domoticz TeleGram BOT
Posted: Sunday 07 August 2022 22:41
by mojso
how to limit the dtgmenu by rooms. For example: the living room should appear to all users, the bedroom to only two users, etc
Re: dtgbot - Domoticz TeleGram BOT
Posted: Sunday 07 August 2022 23:29
by jvdz
It should show the same as what each user sees when going to the Domoticz Web frontend, right?
Re: dtgbot - Domoticz TeleGram BOT
Posted: Monday 08 August 2022 0:43
by mojso
That's right, to be able to see only what is set for each user in Domotiz
jvdz wrote: ↑Sunday 07 August 2022 23:29
It should show the same as what each user sees when going to the Domoticz Web frontend, right?
Re: dtgbot - Domoticz TeleGram BOT
Posted: Thursday 11 August 2022 22:40
by mojso
mojso wrote: ↑Monday 08 August 2022 0:43
That's right, to be able to see only what is set for each user in Domotiz
jvdz wrote: ↑Sunday 07 August 2022 23:29
It should show the same as what each user sees when going to the Domoticz Web frontend, right?
any idea how to limit devices by users or rooms in dtgmenu
Re: dtgbot - Domoticz TeleGram BOT
Posted: Thursday 11 August 2022 22:56
by jvdz
The current DTGBOT uses one way to connect to Domoticz and doesn't have the ability to link an Telegram UserID to a Domoticz UserID as I guess you are looking for?
The DTGMENU part is build on top of DTGBOT, and doesn't have the option to limit rooms per user, but rather shows all available in Domoticz, as all devices are also available in the commands from DTGBOT.
Re: dtgbot - Domoticz TeleGram BOT
Posted: Thursday 11 August 2022 23:08
by mojso
yes i use domoticz with users but domoticz and dtg bot communicate via 127.0.0.1 localhost is open and shows all devices
Re: dtgbot - Domoticz TeleGram BOT
Posted: Thursday 11 August 2022 23:29
by jvdz
So how do you think the room selection should be done from a logic point of view, as I can't see a simple and flexible way of doing this?