Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Openhab mqtt.things and alarm.items example? #38

Open
blademckain opened this issue Jan 25, 2019 · 4 comments
Open

Openhab mqtt.things and alarm.items example? #38

blademckain opened this issue Jan 25, 2019 · 4 comments

Comments

@blademckain
Copy link

Hi,
can someone post his configuration files as a basis for configuration in openhab?

@blademckain
Copy link
Author

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)

@psyciknz
Copy link
Contributor

psyciknz commented Jan 28, 2019

My script? I'm not aware of any timestamps being published.

Have you got message examples?
mosquitto_sub -h <host) -v -t Paradox/#

@blademckain
Copy link
Author

blademckain commented Jan 28, 2019

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

@psyciknz
Copy link
Contributor

psyciknz commented Jan 28, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants