@paul53 thanks .... it's working well
you're really the expert
NEWS
Latest posts made by dony71
-
RE: trying to get value of updated object id sent to telegram
-
RE: trying to get value of updated object id sent to telegram
@paul53 Restart java script won't help. I have to restart blocky script. This means each time mosquitto_pub publish new object instance, I have to restart the script then re-publish this new object then trigger works.
How could it be? Maybe I'm missing some setting?FYI below my updated blocky script
-
RE: trying to get value of updated object id sent to telegram
@paul53 yeap, it works, thank you
Now I have another problem
I notice script will not trigger if object id not exist before
for ex. let says object "mqtt.1.diningroom.MSG" not exist yet
Then I publish "mosquitto_pub -t /mqtt/1/diningroom/MSG -m hallo",
script won't trigger anything (no telegram msg being sent)
After that even if I redo publish "mosquitto_pub -t /mqtt/1/diningroom/MSG -m world",
script still won't trigger anything.
Is there anything I should do to fix this? -
RE: trying to get value of updated object id sent to telegram
@paul53 by inserting value "server", it will show all mqtt.1.* object, not only updated object
so for ex. I have mqtt.1.bedroom.MSG and mqtt.1.classroom.MSG, then
server = mqtt.1.bedroom.MSG,mqtt.1.classroom.MSG -
RE: trying to get value of updated object id sent to telegram
@dony71 btw, i can understand german, so anybody can reply in german language
-
trying to get value of updated object id sent to telegram
Hi expert scripter
I have problem in my blocky script
I'm trying to get value of updated object id sent to telegram
Blocky looks like below
I have several mqtt.1 object, for ex. mqtt.1.bedroom, mqtt.1.classroom, etvc
If there is update in value of one mqtt.1 object, for ex. mqtt.1.bedroom.MSG, I want telegram to send value of mqtt.1.bedroom.MSG
However with this blocky, telegram only send word "Server" without value
How to do this? -
trying to get value of updated object id sent to telegram
Hi expert scripter
I have problem in my blocky script
I'm trying to get value of updated object id sent to telegram
Blocky looks like below
I have several mqtt.1 object, for ex. mqtt.1.bedroom, mqtt.1.classroom, etvc
If there is update in value of one mqtt.1 object, for ex. mqtt.1.bedroom.MSG, I want telegram to send value of mqtt.1.bedroom.MSG
However with this blocky, telegram only send word "Server" without value
How to do this?