I removed the ´while .. do´ statement in the script so it only runs once; and call that script via a crontab entry every 1 minute.
Seems to work fine
Search found 10 matches
- Wednesday 22 March 2017 12:32
- Forum: Bash / PowerShell / Batch etc.
- Topic: Ultimate Wifi and Bluetooth Presence Detection
- Replies: 84
- Views: 49463
- Sunday 16 October 2016 19:12
- Forum: PHP and all others
- Topic: Decode JSON
- Replies: 6
- Views: 3454
Re: Decode JSON
jquery ? sorry, did not find that there
- Saturday 15 October 2016 22:48
- Forum: PHP and all others
- Topic: Decode JSON
- Replies: 6
- Views: 3454
Re: Decode JSON
Do you have a pointer where to find the solution ?
- Thursday 11 August 2016 22:47
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 597
- Views: 129450
Re: dtgbot - Domoticz TeleGram BOT
Already found the lua/dtgmenu.cfg file, and changed the SubMenuWidth, DevMenuwidth and ActMenuwith from 3 to 5; that solved it for me ..
- Wednesday 10 August 2016 23:56
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 597
- Views: 129450
Re: dtgbot - Domoticz TeleGram BOT
It appears you can have a maximum of 5 rooms defined ? I had 6, and 1 of them was not listed in the 'menu' overview
- Wednesday 10 August 2016 22:24
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 597
- Views: 129450
Re: dtgbot - Domoticz TeleGram BOT
Solved ! 

- Wednesday 10 August 2016 12:08
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 597
- Views: 129450
Re: dtgbot - Domoticz TeleGram BOT
First of all, thanks for helping out ! after a reboot it works fine for a while !! When playing around with various commands the process crashes however after some time pi@raspberrypi3:~$ cat /var/tmp/dtb.log.errors /usr/bin/lua5.2: /home/pi/dtgbot/lua//dtgmenu.lua:696: attempt to index field '?' (a ...
- Tuesday 09 August 2016 23:47
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 597
- Views: 129450
Re: dtgbot - Domoticz TeleGram BOT
hmm .. after a reboot, the service auto-starts and it all seems to work ! After issuing a lot of commands, the process stops dtbbot.log.errors output: pi@raspberrypi3:~$ cat /var/tmp/dtb.log.errors /usr/bin/lua5.2: /home/pi/dtgbot/dtgbot.lua:444: attempt to index local 'msg' (a nil value) stack ...
- Tuesday 09 August 2016 21:56
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 597
- Views: 129450
Re: dtgbot - Domoticz TeleGram BOT
a bit further ..
Using the service won't work, but running interactively "lua dtgbot.lua" things start to work !
Need to find what the difference is ..
Using the service won't work, but running interactively "lua dtgbot.lua" things start to work !
Need to find what the difference is ..
- Monday 08 August 2016 23:35
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 597
- Views: 129450
Re: dtgbot - Domoticz TeleGram BOT
Hi, I believe I have followed all installation instructions, however I cannot send any commands to the bot. The service is running : pi@raspberrypi3:~/dtgbot$ sudo service dtgbot status â dtgbot.service - LSB: A Telegram bot designed to control Domoticz Loaded: loaded (/etc/init.d/dtgbot) Active: ...