pimatic-mysensors controller plugin
-
I plugged the controller and light sensor on my pc.
The controller receives and the sensor transmits signals.
So, the hardware is OK.
I changed the USB setting as "serialDevice": "/dev/ttyUSB0"
But still no signal.
Because I am new on RPi I cant set the USB corectly.
My USB settings (lsusb -t) are like below:
What is my USB port? USB0 or USB1 or other else?pi@raspberrypi:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 2: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 2: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 3: Dev 5, If 0, Class=Vendor Specific Class, Driver=rtl8192cu, 480M
|__ Port 5: Dev 7, If 0, Class=Vendor Specific Class, Driver=ch341, 12M -
@fahrettine said:
What is my USB port? USB0 or USB1 or other else?
dmesg | grep ttyWill give you an output like:
ch341-uart converter now attached to ttyUSBXX -
Oitzu thank you very much.
I solved the problem.
It was the nodeID. I set the nodeID to on the sketch to 15 and the problem solved.
Thanks for your help... -
Hi everyone,
I installed Pimatic. It works fine...
I installed light sensor code from MySensor: http://www.mysensors.org/build/light
Light sensor works fine...
After that I intalled the Relay code: http://www.mysensors.org/build/relay
The relay doesnt work!!! Any idea for the problem???
When I turn the buton On/Off I can see the sending messages on debug.
Thanks!!!
Below are my Pimatic Config codes and debug messages:{ "id": "Switch", "name": "Switch", "class": "MySensorsSwitch", "nodeid": 10, "sensorid": 1 }
debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;1
21:21:09debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;0
21:21:01debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;1
21:20:56debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;0
21:20:26info [pimatic]: Listening for HTTP-request on port 80...
21:20:26info [pimatic-mobile-frontend]: rendering html finished -
Hi everyone,
I installed Pimatic. It works fine...
I installed light sensor code from MySensor: http://www.mysensors.org/build/light
Light sensor works fine...
After that I intalled the Relay code: http://www.mysensors.org/build/relay
The relay doesnt work!!! Any idea for the problem???
When I turn the buton On/Off I can see the sending messages on debug.
Thanks!!!
Below are my Pimatic Config codes and debug messages:{ "id": "Switch", "name": "Switch", "class": "MySensorsSwitch", "nodeid": 10, "sensorid": 1 }
debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;1
21:21:09debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;0
21:21:01debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;1
21:20:56debug [pimatic-mysensors]: -> Sending 10;1;1;1;2;0
21:20:26info [pimatic]: Listening for HTTP-request on port 80...
21:20:26info [pimatic-mobile-frontend]: rendering html finished@fahrettine said:
check whether you received any message ( serialport output ) on relay sensor node.
-
I've seen the "protocol" line. Is it suitable for 2.0.0beta sketches ?
-
I've seen the "protocol" line. Is it suitable for 2.0.0beta sketches ?
@rollercontainer the plug-in works fine with 2.0. You dont have to change the protocol value in the plug-in.
-
Do you plan to continue to develop this plugin? I will very pleased to see a mysensors button. Thank you!
@ricardot said in pimatic-mysensors controller plugin:
Do you plan to continue to develop this plugin? I will very pleased to see a mysensors button. Thank you!
I second this. And also see if we can lose the dependency on serialport 2.0.6 so that we can use Node.js > 4.9.1
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login