Hello I would like to know if you can connect an lcd to the gateway, print in the lcd the value of a sensor connected to a node so that both the value on the domoticz lcd controller and the lcd. Do you give me an example? thank you all
@karenbobiv
I doubt it's related to the MySensors communication. Are you using a Dallas temp sensor? Could you check that the is actually connected to the dallas sensor by using isConnected().
When googling your problem I found a few hits on -196.6 which is the error code (DEVICE_DISCONNECTED) converted to Fahrenheit.
Start debug mode (Config.h) to see what the sensor actually sends.
@esfnl said in RPi 3 with Domoticz and RF-link (RFXcom) 'TSP-fail':
MySensors is supported
MySensors is supported if you connect an NRF24 to the RFXCom as instructed in the link, did you ?
As explained, it can only receive information, so as you seem to have no gateway to assign node ID you will need to define your nodes as passive nodes and hard code node id :
#define MY_PASSIVE_NODE
#define MY_NODE_ID 2
#define MY_PARENT_NODE_IS_STATIC
#define MY_PARENT_NODE_ID 0
Hi
This is a typical homer project in that I spend half an hour here and half an hour there so it moves very slowly!
What I have so far:
Plan for 10-15 zone heating control based on standard Y plan heating system. I need to generate control signals for:
Boiler on
DHW valve on
Heating valve on
*12-13 radiator valve heads (24v DC)
a) Domoticx setup based on a list of zones - the lua scripts are maybe 75% done and working so far - needs tweaks and tidying up before its shareable sensibly.
b) Battery powered sensor/ display node arduino based. Has dallas DS1820 temp sensor, 128 x 64 Oled display and three buttons using mysensors 2.4Ghz radio. It links with domoticz, displays (on demand) the room temp, setpoint and the buttons allow local control - boost/cut temp to xDeg for 1 hr. The sensor runs off 2 x AAA cells and takes 11uA standby with pulses of 25mA so could just run off a coin cell for 12-18months. The code is 80-90% complete but haven't started a PCB yet.
c) Dallas one wire sensors for some rooms where I am not bothering with a local display node. Also to be used for DHW and outside temperature for display/prediction.
d) Some 24vDC thermal actuators for the radiators - that's the biggy and now won't happen till next year and the heating is off. I also need to replace some valve bodies on some radiators so it will need (at least) a day off work at some point to do all the plumbing.
e) Android front end based on Netio - tried open remote but found that a bit long winded. This is 20% complete - just done 2 zones to prove the concept. This will drive a wall mounted tablet replacing the old room stat and also be the interface from my phone etc when away from home.
f) I haven't started boxing up the RPI - it needs a 24cDC 2-3 amp PSU for the radiator valves and wiring to all rooms - yuk!
This may wet your appetite but it is very much a work in progress and wouldn't make much sense if I published it yet. I'll post bits as they become meaningful - but its a way away yet.
If nothing else it tells you what's possible. That has taken me quite a bit of experiment to get this far.I've tried at least 5 different home automation packages and have now settled on Domoticz and Netio front end. At least - now I am on the implementation phase!
Regards
Coppo
@hek
Oh, I didn't know I needed to use both.
Well I tried a million combinations after seemingly reading everything on the subject, and I still couldn't get {int + char + int} converted into a char[] using strcpy and strcat
for some reason my brain is just not wrapping itself around the concept today... maybe I'll come back to it tomorrow.
In the mean time, I tried the following and it worked.
char buf[20];
sprintf(buf, "%d.%d", Alarm1_Time_Local[0], Alarm1_Time_Local[1]);
send(MySensors_MSG_Alarm1_Time.set(buf), true);
I've read that using sprintf increases the size of your sketch... but for now I'm fine with it, since it works and I can move on to being creative and productive.. lol
@gohan I live in Switzerland, but perhaps my place has more humidity than normal.
It's not silly problems we're working on, we're learning all the time!