Search found 86 matches

by krambriw
Tue Aug 30, 2016 5:35 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

When I wrote the Adafruit MQTT Client plugin for EventGhost I used the Python library provided by Adafruit https://learn.adafruit.com/adafruit-io/overview . I do send a 'keepalive' every 4th min and this keeps the plugin connected but I think the library also has a built-in keep alive mechanism. May...
by krambriw
Sat Aug 27, 2016 3:28 pm
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

Thanks Walter. I have now added a parameter in the MqttValueLogger called MqttClient, where you can specify a specific client where the MQTT events should be sent. If you don't specify a client it will send to all. Perfect, this works fine! Just fyi: I get these kind of lines in the log every minut...
by krambriw
Wed Aug 24, 2016 11:32 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

So I think I have found out the reason to my problem! It is verified by adding two MqttValueLoggers; one is pointing to io.adafruit and correctly configured to a topic structure that really exists, one is pointing to another structure that does not exists at io.adafruit BUT exists at another broker....
by krambriw
Wed Aug 24, 2016 7:19 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

Yeah, all of those came up at once ;) The only thing to think about is that all MQTT-Events you send will be sent to all MQTT brokers Well, I recommend to change that. Adding a setting in the MqttValueLogger to select the broker/port would not be bad (or multiple selections if someone finds use for ...
by krambriw
Tue Aug 23, 2016 2:55 pm
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

I have some questions - is it necessary to restart ONH if you change the port settings for the MqttClient connection? - is it necessary to restart ONH if you change settings for the MqttRemapButtons? - is it possible to have multiple number of MQTT Clients (assume connections to several MQTT brokers...
by krambriw
Sat Aug 20, 2016 8:20 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

1) You can now specify a ValuePrefix, which is a string that is added in front of the value that is sent in the MQTT-Message. Excellent, this solves my concern 3) Fixed the timer so you can change it without having to restart the Item When I test this, it is still fixed to 60 seconds Besides, a min...
by krambriw
Fri Aug 19, 2016 10:59 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

But I dont think I agree on more data in the payload For sure, you could leave it out but there will be effort needed in the client logic anyway. I can subscribe to MyHome/# but I have to evaluate the topic AND the payload in the message. If everything is in the payload, it will be more straight fo...
by krambriw
Fri Aug 19, 2016 10:50 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

The LogInterval seems to be hard coded, fixed to 60 seconds??
by krambriw
Fri Aug 19, 2016 9:51 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 38029

Re: MQTT support in OpenNetHome

It kind of works. I do receive events from ONH (I selected state for lamp device) The MQTT events looks like this: { "topic": "MyHome/Outgoing", "payload": "Off", "qos": 0, "retain": false, "_msgid": "8ebc5bdd.7143a8" } ...
by krambriw
Fri Aug 19, 2016 5:33 am
Forum: Software
Topic: ThingSpeak
Replies: 1
Views: 5216

Re: ThingSpeak

I have used Adafruit.io https://learn.adafruit.com/mqtt-adafruit-io-and-you for some time and they do also have similar type of (free) services. If it is better or less, I do not know but the good part is that it is using MQTT. But it will require a login to be handled. As example, see this implemen...