-
Notifications
You must be signed in to change notification settings - Fork 35
Openhab mqtt.things and alarm.items example? #38
Comments
I did some tests with OH2, with the new mqtt binding 2.4. |
My script? I'm not aware of any timestamps being published. Have you got message examples? |
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? 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 ***@***.***> 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
<#38 (comment)>,
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?
The text was updated successfully, but these errors were encountered: