-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outgoing events from pimatic #7
Comments
At the moment this plugin can only subscribe to mqtt messages, it cannot publish them. I might look at that in the future though. |
This would be really really nifty, I have two applications that need realtime data from each other and from/to pimatic as well. Without a message bus even with three apps this quickly results in a lot of connections and that's not cool. If this plugin would expose all events by device/group/name or something, that would give great interconnectivity :) I'd like to help but I'm more of a c# dev than Coffeescript :) |
@neographikal You could use a script which connects to the websocket of pimatic. If anything is received, publish it to MQTT. I wrote a script for this behavior. |
@kenci It sounds interesting. Can I download the script somewhere ? |
Here it is.. https://gist.github.com/kenci/5c13547cfff1e2f44d36 |
Thx, but 404 error 😄 |
@kenci Lot of fun with your script. Thx a lot. |
From the documentation I gather you import data from the mqtt server, but is it also possible to expose all events in pimatic to the mqtt server so other interested applications can use the events/data? :)
Thanks!
The text was updated successfully, but these errors were encountered: