!!!
Thank you very much community, you are great!
Posts made by Matias_SAMS
-
RE: 💬 What's all the fuss about?
-
RE: 💬 What's all the fuss about?
Hello! Forgive me if I bother you, or if I ask some stupidity ... but I wanted to ask you something I can not find anywhere.
I already have a Relay node and a Sensor Node with a gateway running. I am using MYSController. Everything works OK.
I have concerns about some code syntax.
I can not finish understanding regarding the reading or writing of states in a binary device the syntax:state? RELAY_ON: RELAY_OFF
or
state? "true": "false"What does the "?" Mean. How should I understand that line? Because there are times when it appears inverted:
state? RELAY_OFF: RELAY_ON
or
state? "false": "true"Thank you!
-
RE: 💬 What's all the fuss about?
@mfalkvidd Great!!! Ok, let's do it... I think tonight my girlfriend kicks me out of the house jajaja.... lol...
-
RE: 💬 What's all the fuss about?
Hi! Excuse my Bad English... I'm working on that... I Have some Doubts about MySensors... I can see that the idea behind the project its to make a Nodes with de IO Distributed Concept (Im a PLC Industrial Guy...). All Nodes acts a Interface between the Fisical Variables and a Gateway / Controller.
- A node can be a Sensor and a Actuactor at the same time? For example, If i need to sense PIR movement and acting a relay, can I do with the same Node.
- Based on that... I could say that I need a controller to do some logic using the Nodes IO Signals. For example, a PIR Node sense a movement, the controller receive this info and trigger a activation signal over a Actuator Node (Relay x example). Is it like that? Then.... Can nodes run some control logic localy? Without a Controller? Can I modify the Arduino Skecth to do that?
For example. Im trying to make a Multisensor, but in the first project stage its need to work alone, without a Gateway and a Controller. The Multisensor senses values (Proximity for example) and trigger a Buzzer (The same Node must be a Sensor and a Actuator -> PIR -> Buzzer).
Yes... I know.. I can do that with simple arduino code... But, Im thinking to in a second project implementation stage, the same Node Multisensor must be Gateway Ready, without changing program. This allow to read from the controller all Node Multisensor signals, but the logic continues runs locally on the node. - Then... im thinking about to do some Override over the Actuators on the Node. Perhaps can I set a flag over the node arduino program from the Controller Interface with the intention to activate / deactive local control logic. If the flag is set to ON, then the Multisensor runs the local logic, But if it set to OFF, then, all the events control is do it from the controller.
I hope I was clear. Thanks for your time
-
RE: 💬 What's all the fuss about?
Hello Folks! I'm writing from Argentina and I'm new user. I will write about my projects in the next days... Good Luck!