script to send mqtt message with percentage

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: script to send mqtt message with percentage

Post by salvacalatayud »

Sorry, I can't help with this, it is over my knowledge

Enviado desde mi Mi A2 mediante Tapatalk

megamarco83
Posts: 109
Joined: Friday 21 September 2018 15:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: script to send mqtt message with percentage

Post by megamarco83 »

ok, thanks for you time on this.
but, just a question related to your script to import uservar on note red.
it seams that is not working, it give errors when import userva string.
is it working on your domoticz?
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: script to send mqtt message with percentage

Post by salvacalatayud »

megamarco83 wrote: Monday 02 March 2020 1:02 ok, thanks for you time on this.
but, just a question related to your script to import uservar on note red.
it seams that is not working, it give errors when import userva string.
is it working on your domoticz?
It is not my node, check the github page for issues
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: script to send mqtt message with percentage

Post by hoeby »

Did you found the answer for this?

I have the shelly 2.5 with tasmota flashed.
Yesterday i installed node-red with the flow in this post.
Changed the things that where needed and made the variable.

But i don't onderstand, how the variable is updatet when i move the dummy slider. Dan someone explane this?

I need to look over. It is the first time using node-red, but untill now i think it is a difficult application. Hope to find the solutions o get my shelly working
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest