dtgbot - Domoticz TeleGram BOT
Moderator: leecollings
-
- Posts: 31
- Joined: Sunday 10 October 2021 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
Yes, I ran both the apt install commands listed on the github page. I also tried rebooting, also did not work...
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 31
- Joined: Sunday 10 October 2021 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
Okay, so how can I proceed installing this? I think I've tried pretty much everything I can?
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
Strange .... I haven't tested on bullseye so maybe there is an issue there. hope that @simonrg know this....
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 31
- Joined: Sunday 10 October 2021 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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.
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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.
@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.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 31
- Joined: Sunday 10 October 2021 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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...
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...
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 31
- Joined: Sunday 10 October 2021 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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).
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).
-
- Posts: 4
- Joined: Tuesday 28 May 2019 14:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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
I tried to install the missing lib ssl 1.0.0 by trying:
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?
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 ?
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
Does anyone know how to install dtgbot on Raspbian Buster? Maybe the wiki can be updated by the latest info?
-
- Posts: 528
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
Did you try this option to install libssl 1.0.0?
I used it the last time i reinstalled dtgbot
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
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 4
- Joined: Tuesday 28 May 2019 14:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
@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!
This is how to fix a fresh install on buster!
Thanks thank thanks!
-
- Posts: 4
- Joined: Tuesday 28 May 2019 14:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
On buster the fix to install by apt-get is not working anymore:
Fix by:
Fix by:
thanks to hoeby!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
-
- Posts: 86
- Joined: Friday 08 November 2019 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
how to limit the dtgmenu by rooms. For example: the living room should appear to all users, the bedroom to only two users, etc
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
It should show the same as what each user sees when going to the Domoticz Web frontend, right?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 86
- Joined: Friday 08 November 2019 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
any idea how to limit devices by users or rooms in dtgmenu
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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.
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.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 86
- Joined: Friday 08 November 2019 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
yes i use domoticz with users but domoticz and dtg bot communicate via 127.0.0.1 localhost is open and shows all devices
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: dtgbot - Domoticz TeleGram BOT
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?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Who is online
Users browsing this forum: No registered users and 0 guests