Search found 8 matches

by jas
Mon Jun 06, 2016 7:34 am
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 21
Views: 68365

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

To use Sonoff switches with nethome, you need: - MQTT broker - Sonoff switch programmed with custom software to communicate with MQTT broker MQTT broker is a server program which delivers messages between clients (in our case nethome and Sonoff switch are both clients) Clients can publish and subscr...
by jas
Sat May 28, 2016 6:07 pm
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 21
Views: 68365

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

I have been using Sonoff switches with nethome for three months and they work just fine. I have found them to be a lot more reliable than Nexa switches. You need to have your own software for the Sonoff though, the original code from Itead uses their cloud services. I have integrated Paho Java MQTT ...
by jas
Tue May 24, 2016 12:27 pm
Forum: Hardware
Topic: Interest for Z-Wave?
Replies: 8
Views: 22474

Re: Interest for Z-Wave?

Sounds interesting! What hardware is required/supported on the server side? I'm using Tellstick Duo with Nexa devices, but I also have encountered some reliability issues. On "must work" switches I have started to use MQTT and ESP8266 based WiFi switches, which have so far been working wit...
by jas
Tue Feb 02, 2016 8:38 am
Forum: Software
Topic: Setting Scenes to Enabled/Disabled
Replies: 3
Views: 6520

Re: Setting Scenes to Enabled/Disabled

I think it is a good idea. I have added enable/disable functionality to scene and interval timer in my nethome server and they work fine. For example now I can have a movement detector on driveway which always rings a doorbell in the house when movement is detected. It also starts outside light time...
by jas
Mon Dec 07, 2015 11:45 am
Forum: Software
Topic: Jython integration
Replies: 2
Views: 5576

Re: Jython integration

There is only one jython instance. I have not tried to write python items. I started to play with python, because I felt nethome didn't have any easy way for conditional execution. I added enable/disable property for some items (mostly timers) and that helped a lot, but was not really enough. With p...
by jas
Thu Nov 05, 2015 1:00 pm
Forum: Software
Topic: Jython integration
Replies: 2
Views: 5576

Jython integration

Hi Stefan, I tried to send you PM, but I guess I have not been posting enough on this forum to be able to do that :) Anyway, if you are still interested, I could merge my jython changes to latest master and send a pull request. That way you would not need to go through all the other modifications I ...
by jas
Thu Oct 29, 2015 10:16 am
Forum: Software
Topic: Webpage for mobile phone
Replies: 5
Views: 8311

Re: Webpage for mobile phone

The jython integration was not really that complicated. The most difficult part (at least for me) was to get the correct jython library to the maven repository. I downloaded a jython library to the repository, but could not get it working. In the end I had to manually add the .jar file to the librar...
by jas
Wed Oct 28, 2015 7:05 am
Forum: Software
Topic: Webpage for mobile phone
Replies: 5
Views: 8311

Re: Webpage for mobile phone

There is a small error in the REST documentation. In the beginning of the document the "action" syntax is shown correctly (POST /items/[ItemId]/actions/[action]/invoke), but later in section 1.5 is is show as /rest/items/[ItemId]/action, which is not correct. I stumbled to this when I was ...