Search found 86 matches

by krambriw
Wed Aug 17, 2016 9:21 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37806

Re: MQTT support in OpenNetHome

A simple example to get started 1) First thing, you need to be sure you are running aa version of ONH that supports MQTT (use latest nightly build) 2) Add a port for the MQTT Client connection. In the example below, I have a message broker installed on the same machine as ONH so I use that one. Othe...
by krambriw
Mon Aug 15, 2016 5:42 pm
Forum: Software
Topic: Integration with HomeBridge
Replies: 3
Views: 6959

Re: Integration with HomeBridge

MQTT is a standard messaging system with standardized api/protocol using a broker. You can subscribe and publish messages to the broker and if you are a client subscribing you will receive new messages by notification. This means that if both softwares, in this case HomeBridge and ONH supports MQTT,...
by krambriw
Sun Aug 14, 2016 10:06 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37806

Re: MQTT support in OpenNetHome

I think that is a good idea! Also if you can make it attachable to lamp items and other items so that when you switch the state of the device in ONH, this can be published to the outside via MQTT. In EventGhost, I have implemented support for publishing MQTT messages and the following parameters/set...
by krambriw
Sat Aug 13, 2016 1:42 pm
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37806

Re: MQTT support in OpenNetHome

Code: Select all

event,Mqtt_Message,Direction,In,Mqtt.Message,just a test,Mqtt.Topic,MyHome/RPI,Value,
I can see that MQTT events are received in ONH (result above when monitoring with the TCP port and a telnet session). Can you also publish to a MQTT broker from ONH?
by krambriw
Thu Aug 11, 2016 10:18 am
Forum: Software
Topic: Integration with HomeBridge
Replies: 3
Views: 6959

Re: Integration with HomeBridge

Well, with MQTT support in ONH you have a solution

https://github.com/ilcato/homebridge-mqttswitch

Read more....
https://github.com/nfarina/homebridge/issues/453
by krambriw
Sat Aug 06, 2016 6:11 am
Forum: Software
Topic: Can I put the XML in another drive/directory?
Replies: 2
Views: 5829

Re: Can I put the XML in another drive/directory?

Hey Mastiff,

In the "Settings", did you try to enter the full path? Like this?

Code: Select all

H:\OpenNetHomeData\mydemo.xml
It then gives this result as seen in the log:
Info 16.08.06 08:08:15 HomeItemFileLoader Loading Items from H:\OpenNetHomeData\mydemo.xml
by krambriw
Sat Jul 30, 2016 8:20 am
Forum: Software
Topic: Sudden disconnect problem
Replies: 6
Views: 9035

Re: Sudden disconnect problem

I think this problem/state can be caused by some kind of network disturbance. I have somehow managed to cause this by disconnecting/connecting the network cable to ONH while a client has a subscription active. It is not easy and not 100% reproducible every time. Many times the communication are rest...
by krambriw
Fri Jul 29, 2016 6:06 pm
Forum: Software
Topic: Sudden disconnect problem
Replies: 6
Views: 9035

Re: Sudden disconnect problem

Hello Both, I notice that the ONH can enter a state where no more events are sent to subscribers via the TCP port. In ONH log you can see a line similar to below for each event ONH is trying to send. 2015.10.28 05:17:35.685 WARNING:TCPCommandPort could not send event, TCP stream blocked (TCPCommandP...
by krambriw
Mon Jan 04, 2016 2:35 pm
Forum: Software
Topic: Problems running in a RPi
Replies: 13
Views: 18182

Re: Problems running in a RPi

Great news, thank you! I agree that the connection breaks maybe to the router itself (or the WiFi network drops out since the RPi is connected using a wifi dongle). Anyway my implementation (plugin for EventGhost) is automatically reconnecting if this happens and so far, it is working ok, some recon...
by krambriw
Mon Nov 30, 2015 8:32 am
Forum: Software
Topic: Problems running in a RPi
Replies: 13
Views: 18182

Re: Problems running in a RPi

Yes but I have tried also udp port but no success when I try to subscribe to events (I have understood subscribing to events is only possible with tcp port)