I installed your software package and plugged the stick in and added it in the hardware section of Domoticz. It is mounted on /dev/ttyUSB1
But in settings nothing shows up.
In the log:
Soo, what's the best way to send tcp commands from the command line so I can control stuff like the magic ufo rgbww controller or chinese wifi mains sockets?
Synology doesn't have netcat or socat. Didn't really want to mess around installing bootloaders/ipkg/reboots etc..
Tried using telnet and that seems ok for some things BUT i believe it won't do values 0 or 255? Also wouldn't be able to put chr(0) into a string to echo on the command line anyway I presume?
Example lua script I'm using:
function send(msg)
runcommand = "echo "..msg .."| telnet "..IP.." "..Port.." "
print (runcommand)
os.execute(runcommand)
end
if devicechanged[DomDevice] then
if(devicechanged[DomDevice]=='Off') then
print("Turning OFF")
-- send(string.char(49,12,39,128,255,1,15,243)) won't work as 255 present
-- send(string.char(49,12,39,128,0,1,15,243)) won't work as 0 present
send(string.char(113,36,15,164))
elseif (devicechanged[DomDevice]=='On') then
print("Turning On")
send(string.char(113,35,15,163))
else
print("Values: " .. otherdevices_svalues[DomDevice]);
end
end;
AxelvanH wrote:Has enyone experience with this package on DSM 6.2 beta?
It won't start on my device (DS414)
I was just trying to move from RPi to Syno (not that the RPi isn't stable, but to free him to use as camera).
Domoticz runs on DSM 6.0-7274 (I suppose you mean beta 2 instead of 6.2), but only one USB port is recognised instead of 2.
So need to figure out if it's the RFXCOM or the Zwave stick...