Open blademckain opened 5 years ago
I did some tests with OH2, with the new mqtt binding 2.4. I have some problems because the script publishes the timestamp as well as the events (ON / OFF) In OH I then receive an error when I try to associate an event with a switch (which only expects ON / OFF and not ON timestamp / OFF timestamp)
My script? I'm not aware of any timestamps being published.
Have you got message examples? mosquitto_sub -h <host) -v -t Paradox/#
right now I tried the tertiush script because you in another post you had written that your script was more specific to the SP7000 model (I believe), while I own a MG5050. It's correct? I have seen that tertiush uses the publish_with_timestamp() function while you use directly publish()
is there any way inside OH to separate the command (ON / OFF) from the timestamp? so i can use the command (ON / OFF) to drive the switch, and use the timestamp to see when it was the last update
Ahh right. Uh depends how it’s done, not sure if a regex will do it, it’s no json is it?
On Tue, 29 Jan 2019 at 00:43, blademckain notifications@github.com wrote:
right now I tried the tertiush script because you in another post you had written that your script was more specific to the SP7000 model (I believe), while I own a MG5050. I have seen that tertiush uses the publish_with_timestamp() function while you use directly publish()
is there any way inside OH to separate the command (ON / OFF) from the timestamp? so i can use the command (ON / OFF) to drive the switch, and use the timestamp to see when it was the last update
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Tertiush/ParadoxIP150v2/issues/38#issuecomment-458099584, or mute the thread https://github.com/notifications/unsubscribe-auth/AFGkc1kB-x12wW3Arv3ukfhFRwNQemOjks5vHuJugaJpZM4aS_Na .
Hi, can someone post his configuration files as a basis for configuration in openhab?