it is coming along nicely. I've added most of the sensor types recently. Currently I'm testing on armhf platform (Wandboard) (development was done on amd64). Things look good so far. The relay and some other stuff arrived yesterday. So I will add the missing things these days.
Posts made by hari
-
RE: Integration into the ago control home automation software
-
Sensor Node V2.0
Can't wait to grab a lot of these when they're available:
http://www.seeedstudio.com/wiki/DevDuino_Sensor_Node_V2.0_(ATmega_328)
-
RE: Integration into the ago control home automation software
if you don't want to install systemd, there is a sysv init script in GIT from some user, but I never tested that. We'll provide an integrated component startup management in version 2.0
-
RE: Creating Gateway for HomeController
don't reinvent the wheel, let's join forces in ago control
-
RE: Integration into the ago control home automation software
it is coming along nicely. Adding sensors already works, and ago control is already logging the temperature from the MySensor Temperature sketch. I'll add more devices over the next days as soon as the missing sensors/actuators arrive.
-
RE: Humidity/Temp Program, Serial Monitor Issues
make sure to select he proper baud rate in the serial monitor.
-
RE: Unable to use the SerialGateway code
Things seem to work with the mega 2560 after realising that it has completely different SPI pins:
pin D8-----------CE (chip enable in)
SS pin D53----------CSN (chip select in)
SCK pin D52----------SCK (SPI clock in)
MOSI pin D51----------SDI (SPI Data in)
MISO pin D50----------SDO (SPI data out)In the sketch I use this:
Gateway gw(8, 53, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN, 6, 5, 4);Dunno why the pro mini 5V is not working, but as I'm able to talk to a sensor already I probably won't dig further into that..
2;0;1;0;26.1
-
RE: Unable to use the SerialGateway code
I've tried two different pro mini 3,3v boards, and the SerialGateway does not respond to serial commands on them. I expect 0;0;4;4; to reply the firmware version of the serial gateway. And it works fine on non-3,3V-pro-mini. The vera lua script is doing the same on startup:
-- Request version info from Arduino gateway sendCommandWithMessageType("0;0","INTERNAL",tonumber(tInternalTypes["VERSION"][1]),"Get Version")
-
Unable to use the SerialGateway code
I had a good share of pain with the NRF24 modules and the SerialGateway code. I can happily load the ping test onto two pro mini 3,3V and they talk to each other just fine. When loading the SerialGateway code onto the 3,3V pro mini, it does not react on serial commands (e.g. 0;0;4;4; or 0;0;4;6;1). So I grabbed a 5V, loaded the gateway code on it, and voila, it responds to serial commands. But no RF comms, and when loading the ping example on the 5V pro mini, I get no replies. The NRF24 was powered from a TOE8852 lab power supply set to 3,3V in this case. That unit has very low ripple (this was also used for the successful ping test between the two 3,3V pro minis). Anyway, maybe something is b0rked with that combo, so I got an Arduino Mega. I tried to feed the radio off the 3,3V connector on the mega (with and without 4,7u cap). Same result, the gateway code works fine, but no RF. 3rd attempt with a shiny new Mega 2560.. but.. you guess it.. no luck. I've verified the 3,3V supply right on the NRF24 with a multimeter. I've swapped radios back and forth (got a lot of 10). SOoo.. a few questions:
- am I doing something stupid here without realising it?
- what is the recommended arduino to run the serial gateway code?
- why is the gateway code not working on a 328 pro mini 3,3V?
I'd appreciate any hints before I fetch the analyser and the scope for further debugging..
regards,
Hari -
Integration into the ago control home automation software
I'm working on MySensors support for the ago control home automation and control suite. I've prepared some code already. I'll finish the implementation as soon as the missing parts arrive from china.