EasyIoT server - Mysensors Raspberry Pi controller
-
New controller on raspberry supports mysensors v1.4. Download: http://iot-playground.com/
-
Hi dopustko,
Nice project, but it's not working here :-(
Tryed both server versions, no result, only get error :[CODE]
pi@homecontrol ~/easyiot $ sudo mono EasyIoT.exe
2014-10-18T19:39:59.7112500+02:00 INFO System System started
2014-10-18T19:40:03.0918930+02:00 Web service started
Listening...
2014-10-18T19:40:04.3352370+02:00 DEBUG MySensors MySensors Connect
================ SPI Configuration ================
CSN Pin = CE0 (PI Hardware Driven)
CE Pin = Custom GPIO25
Clock Speed = 8 Mhz
================ NRF Configuration ================
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xa8a8e1fc00 0xa8a8e1fc00
RX_ADDR_P2-5 = 0xff 0xc4 0xc5 0xc6
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x20 0x20 0x20 0x00 0x00 0x00
EN_AA = 0x3b
EN_RXADDR = 0x07
RF_CH = 0x7b
RF_SETUP = 0x27
CONFIG = 0x0e
DYNPD/FEATURE = 0x3f 0x06
Data Rate = 250KBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX
2014-10-18T19:40:04.5087040+02:00 DEBUG MySensors Mysensors Start driver.
2014-10-18T19:40:07.7276770+02:00 192.168.178.19 admin Authorization successful.
2014-10-18T19:40:12.7053630+02:00 DEBUG MySensors Read: 0-26-0 s=255,c=3,t=17,pt=0,l=0:
2014-10-18T19:40:12.7249430+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:12.7496780+02:00 DEBUG MySensors Read: 0-10-35 s=255,c=3,t=6,pt=0,l=0:
2014-10-18T19:40:12.7546600+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.6999310+02:00 DEBUG MySensors Read: 0-106-3 s=255,c=3,t=11,pt=0,l=0:
2014-10-18T19:40:14.7087720+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.7226980+02:00 DEBUG MySensors Read: 0-26-3 s=255,c=3,t=12,pt=0,l=0:
2014-10-18T19:40:14.7287360+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.7437120+02:00 DEBUG MySensors Read: 0-26-0 s=3,c=3,t=0,pt=0,l=0:
2014-10-18T19:40:14.7480090+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.7627190+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
2014-10-18T19:40:14.7688800+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.7825070+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
2014-10-18T19:40:14.7875390+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.8016840+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
2014-10-18T19:40:14.8071940+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.8225130+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
2014-10-18T19:40:14.8278380+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.8415230+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
2014-10-18T19:40:14.8460490+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.8605280+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
2014-10-18T19:40:14.8647580+02:00 DEBUG MySensors Version mismatch
2014-10-18T19:40:14.8786940+02:00 DEBUG MySensors Read: 0-18-65 s=4,c=3,t=16,pt=0,l=0:
2014-10-18T19:40:14.8828440+02:00 DEBUG MySensors Version mismatch
[/CODE] -
Hi, Johnny B Good. I've checked in my code and you are right. It doesn't work with current V1.4 mysensors protocol, beacuse I'm using old message header structure. It looks like they changed message structure (file MyMessage.h). I will fix that in next release.
For now you can try compile with older version of 1.4 MySensor library. You can download library here: MySensors -
Hi, Johnny B Good. I've checked in my code and you are right. It doesn't work with current V1.4 mysensors protocol, beacuse I'm using old message header structure. It looks like they changed message structure (file MyMessage.h). I will fix that in next release.
For now you can try compile with older version of 1.4 MySensor library. You can download library here: MySensors@dopustko Thanx, it works now :-)
Are there coming more posabilities soon instead of S_DOOR and V_TRIPPED ?
Great site, and great going with the NRF24L01+ on the Raspberry directly :+1:GreetZz John
-
@dopustko Thanx, it works now :-)
Are there coming more posabilities soon instead of S_DOOR and V_TRIPPED ?
Great site, and great going with the NRF24L01+ on the Raspberry directly :+1:GreetZz John
@Johnny-B-Good nice to hear that now it works. I even did't know that it doesn't work with latest version of MySensors - thx to noticing me.
Yes, right now I'm preparing new version with (hope this week):- fix for mysensors library
- add S_HUM, V_HUM and S_TEMP, V_TEMP
- add database support - you will be able to see chart for each sensor

In the near future expect support for more sensors and access to Raspberry Pi GPIO, SMS interface to MySensors network...
-
@dopustko Thanx, it works now :-)
Are there coming more posabilities soon instead of S_DOOR and V_TRIPPED ?
Great site, and great going with the NRF24L01+ on the Raspberry directly :+1:GreetZz John
@Johnny-B-Good in new version of EasyIoT server I added new MySensor types: S_HUM, V_HUM and S_TEMP, V_TEMP. Now MySensor driver works with latest MySensor 1.4 library from Githib. I also added logging and displaying sensor data.

-
@Dany I will also implement V_DIMMER in future.
@kihotx EasyIoT server controller at the moment supports S_DOOR, V_TRIPPED, S_HUM, V_HUM and S_TEMP and V_TEMP. In the new release I will add GPIO support (so you can control also Raspberry Pi GPIO ports) and in MySensor driver I will add S_LIGHT an V_LIGHT -
Have tested this now and it works really well! Any news on planned updates? More sensors, ex power/energy meter would be nice.
@jilldris Thx. I will add more sensors in future and also new protocols. Implementing new sensor type in protocol part is easy, hard part is implementing logic and visualization in web UI interface.
In new release I've added S_LIGHT an V_LIGHT. It works with mysensors relay example.. In new version I've also added Raspberry Pi GPIO driver to control GPIO pins.

-
@jilldris Thx. I will add more sensors in future and also new protocols. Implementing new sensor type in protocol part is easy, hard part is implementing logic and visualization in web UI interface.
In new release I've added S_LIGHT an V_LIGHT. It works with mysensors relay example.. In new version I've also added Raspberry Pi GPIO driver to control GPIO pins.

New version of EasyIoT server supports MySensors S_MOTION and V_TRIPPED. All supported MySensors types in EasyIoT server are:
S_DOOR, V_TRIPPED,
S_HUM, V_HUM,
S_TEMP,V_TEMP,
S_LIGHT and V_LIGHT,
S_MOTION and V_TRIPPED.Now is also supported ESP8266 WiFi module.
-
New version of EasyIoT server is released. Supported MySensor data types are:
S_DOOR, V_TRIPPED,
S_HUM, V_HUM,
S_TEMP,V_TEMP,
S_LIGHT and V_LIGHT,
S_MOTION and V_TRIPPED.
I_TIME
S_DIMMER, V_DIMMER, V_LIGHT
S_LIGHT_LEVEL, V_LIGHT_LEVEL
S_BARO, V_PRESSURE, V_FORECASTWe also added automation functions and SMS gateway (control and monitor your network with SMS).

-
New version of EasyIoT server is released. Supported MySensor data types are:
S_DOOR, V_TRIPPED,
S_HUM, V_HUM,
S_TEMP,V_TEMP,
S_LIGHT and V_LIGHT,
S_MOTION and V_TRIPPED.
I_TIME
S_DIMMER, V_DIMMER, V_LIGHT
S_LIGHT_LEVEL, V_LIGHT_LEVEL
S_BARO, V_PRESSURE, V_FORECASTWe also added automation functions and SMS gateway (control and monitor your network with SMS).

-
@EasyIoT Does anybody know if there are any basic instructions available on how to installing/using EasyIoT ? I haven't used a Raspberry Pi before.
The instructions given on MySensors for the Vera controller are really good. Is anything similar available for EasyIoT?