Search found 20 matches

by Jocke.g
Thu Dec 15, 2016 7:03 am
Forum: Software
Topic: Timer seems to use UTC time
Replies: 4
Views: 7257

Re: Timer seems to use UTC time

I use the SunTimer, and it works perfectly with my local timezone (sweden). Have you configured your raspberry pi to use correct time zone? Can by done using the command raspi-config.

//Jocke
by Jocke.g
Thu Sep 08, 2016 12:46 pm
Forum: Software
Topic: Temp logging :(
Replies: 7
Views: 11914

Re: Temp logging :(

That ds1820 plugin.. When it does work again, would you like to publish it somewhere, together with some short howto? I have some of those sensors too, not currently connected.

//Jocke
by Jocke.g
Fri Aug 19, 2016 10:19 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37808

Re: MQTT support in OpenNetHome

I have tried it out too, on thermometers. Seems to work. But I agree what Walter says about logging right away. Would be useful too, and easier to see if things work. But I dont think I agree on more data in the payload. Keep it as small and simple as possible. Then the program dont have to parse js...
by Jocke.g
Thu Aug 18, 2016 3:03 pm
Forum: Software
Topic: ThingSpeak
Replies: 1
Views: 5191

ThingSpeak

Value logging and graphs are not ideal to store on a respberrys sd-card. After a while, the card will crash because of to many writings, and all your historical data will be lost. I did have a look at https://thingspeak.com . Really simple cloud service to create nice graphs. To store values, you si...
by Jocke.g
Thu Aug 18, 2016 11:49 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37808

Re: MQTT support in OpenNetHome

I dont have a java-development-environment set up, so I cant test it. Patrik have the dev-environment. But I did have a look at the code, and it looks good. I like the reconnect and that stuff! Build a nightly, and I will test it in a few days. Nightly is not meant to be 100% stable anyway? By the w...
by Jocke.g
Sun Aug 14, 2016 8:28 pm
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37808

Re: MQTT support in OpenNetHome

Fix for the persistence exception was also in the name correction that Patrik sent. We disabled persistence for the client. I have tested most of it now, and it works good. MQTT-Monitor sounds like a really good idea! I have thought about something similair too. My first idea of the MQTT-implementat...
by Jocke.g
Fri Aug 12, 2016 3:26 pm
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37808

Re: MQTT support in OpenNetHome

Seems to be our mistake. There is some kind of sudo-related error. We have probably just debuged with sudo, and now it does not work on my real machine. We will have a closer look and try to fix it when there is time. Or if someone else comes first with a fix, its welcome. Stacktrace: 2016.08.12 17:...
by Jocke.g
Fri Aug 12, 2016 11:50 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37808

Re: MQTT support in OpenNetHome

Merge seems to not work perfect. I cant get the MQTTClient to connect anymore. Log says "Failed to connect to MQTT Server", so probably some exception is thrown on connect.

The renaming seems to not be complete also. There is still MQTTCommandPort on some pages.

//Jocke
by Jocke.g
Wed Aug 03, 2016 8:28 am
Forum: Software
Topic: MQTT support in OpenNetHome
Replies: 34
Views: 37808

MQTT support in OpenNetHome

We made a pull request some days ago, making OpenNetHome listen to MQTT. MQTT is perfect for connecting home made sensors and other equipment to OpenNetHome, for example arduino-compatible ESP8266 ( https://www.m.nu/esp8266-c-126_257.html ) You can either install a local MQTT-broker, like https://mo...
by Jocke.g
Thu Jun 23, 2016 5:27 pm
Forum: Hardware
Topic: Interest for Z-Wave?
Replies: 8
Views: 18079

Re: Interest for Z-Wave?

Checked in the log, and it says the port ttyAMA0 could not be found. So I tried with /dev/ttyUSB0 instead. That is my tellstick port, so it did not work wery well. But interesting is ttyAMA0 dissapered from the list. If i run ls /dev i see there is a ttyAMA0. Is razberry supposed to be this one?