Search found 17 matches

by pesa1234
Sunday 18 February 2024 20:31
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT

jvdz wrote: Sunday 18 February 2024 20:14 I can have a look when you Set domoticz uservariable TelegramBotLoglevel to 99. restart dtgbot and then show this menu.
Then zip up the dtg.log and your config and email that to jvdzande AT yahoo DOT com.
Done

edit...

get back email wrong address, sent at the correct address just now.
by pesa1234
Sunday 18 February 2024 20:08
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT


I think I found the issue, but there is no relation to a thermostat, but there were wrong Language variable names on that line. Just committed an update. Please check that and let me know if that fixes it. :)


Thanks is ok, but why I get nil°C on the menu? please have a look at the attachment ...
by pesa1234
Sunday 18 February 2024 19:04
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT


Are you running the latest versions of the scripts as that line makes no sense looking at the current version of dtgmenuinline.lua?
Latest is : dtgmenuinline_version = '0.9 202402161814'

If you have the latest the please enable the debugging, trigger the error and Email me the logfile so I can ...
by pesa1234
Sunday 18 February 2024 17:49
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT

@jvdz why I get nil on setpoint value?
Where I'm wrong?

Code: Select all

Error:dtgmenuinline.lua:329: attempt to index field '?' (a nil value)
by pesa1234
Saturday 17 February 2024 10:54
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT

Perfect thanks created requested on github for italian translation
by pesa1234
Thursday 15 February 2024 22:01
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT


There will be a limit to the freedom of commands and translation! I do not intent to change the way the menu is activated. I will look at the button text flexibility but even there it might be that some fixed texts will remain. I need to have a play with that idea and do some testing when time ...
by pesa1234
Thursday 15 February 2024 20:45
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT


Guess you don't have 127.0.0.1 in the trusted networks then, but as long as it works its fine. ;)

I need to think about that for a little longer and do some testing as the "Exit_Menu" is indeed hardcoded as button but also tested for as action.


Yes you're right!

Same thing also for showmenu ...
by pesa1234
Thursday 15 February 2024 18:03
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT



then:
Edit systemd-dtgbot.sh:
Fill the proper info in the different fields
copy /service/dtgbot.service to /etc/systemd/system/dtgbot.service
enable the service:sudo systemctl enable dtgbot
start the service: sudo systemctl start dtgbot


After you have done the last Setup step where you ...
by pesa1234
Thursday 15 February 2024 12:37
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT


That Branch is a total overhaul of the scripts so does justify changing the version to 2 for sure.
I have made one other change to the code for the OLD and NEW formats support. The retrieval of the Domoticz version is now the first API done, and Domoticz could need some time to finish starting up ...
by pesa1234
Tuesday 21 April 2020 13:29
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT


Ok, this is the complete script where i can read and set domoticz variables.
If someone knows how to do this script in a telegram menu structure, i would be very interested. But at the moment this works for me.


#!/bin/bash
#
# Ewald 20190728
#
# if you would like to display with index in front ...
by pesa1234
Thursday 16 April 2020 22:41
Forum: Show your projects
Topic: Listen to your favourite radios V2
Replies: 88
Views: 24744

Re: Listen to your favourite radios V2

Finish!

I add two dummy selector switches "WebRadio" and "Volume"

When you change the volume is not necessary to kill and restart...

Change your device "NBY5540 - A2DP" with your device...

run amixer to know your...

return {

data = {
switchwebradio = { initial = "Off" }
},

on ...
by pesa1234
Wednesday 15 April 2020 18:40
Forum: Show your projects
Topic: Listen to your favourite radios V2
Replies: 88
Views: 24744

Re: Listen to your favourite radios V2

Hi all, after some issue I found this solution...

Use io.popen to don' block the script and runuser -l pi -c

if domoticz.devices('WebRadio').state == 'Subasio' then
--domoticz.notify('WebRadio','Radio Subasio on air...', domoticz.PRIORITY_NORMAL)
os.execute ("killall mplayer")
io.popen ...
by pesa1234
Tuesday 18 December 2018 1:35
Forum: Bugs
Topic: Dashticz - Bug report
Replies: 557
Views: 147165

Re: Dashticz - Bug report

Dear,
I use the latest BETA, I have an issue on thermostat setpoint.
I have three setpoint to control AC.
In two of this In can only lower the value with - and come back to previous value with +.
In other one setpoint I'm not able to do anything by press + or minus.
When is not possible to change ...
by pesa1234
Sunday 16 December 2018 2:27
Forum: Temperature and Weather
Topic: Update last seen time domoticz
Replies: 1
Views: 1041

Re: Update last seen time domoticz

Solved, changed script with auto update of setpoint
by pesa1234
Wednesday 05 December 2018 18:02
Forum: Temperature and Weather
Topic: Update last seen time domoticz
Replies: 1
Views: 1041

Update last seen time domoticz

Hi ,
I have a question:
Is there a possibility in domoticz to update last seen time of a thermostat setpoint to prevent it to blink in red in the GUI?

I would like to update just the time not the status, otherwise the script to control my Air Conditioner send command without do anything.

This is ...
by pesa1234
Wednesday 05 December 2018 14:13
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT

At the moment I can't send PM, I don't know why, but, sure I can try help you.
by pesa1234
Wednesday 05 December 2018 12:02
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 137922

Re: dtgbot - Domoticz TeleGram BOT

Hi, thanks for the dgtbot service, very good.

I have an issue with the selector label name:
Here my log... How can I solve this issue?

dtgbot: Start DTGMENU ... (1) Riscaldamento
2018-12-05 11:38:35 - ==> menu.lua process:Riscaldamento
2018-12-05 11:38:35 - -< getSelectorStatusLabel found ...