Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Alex Manusovich
@manusovich
I don't want to send payload to actual node
Jeeva Kandasamy
@jkandasa
@manusovich if you update sensorvariable value will be sent
Alex Manusovich
@manusovich
do we have api for just change value in MC ?
Jeeva Kandasamy
@jkandasa
@manusovich for sensorvariable values, for now no
do you have any real requirement? If yes, we may consider
regards mycontroller-org/mycontroller#160
Alex Manusovich
@manusovich
Ok. I am trying to connect amazon dash button as sensor to MC
I am catching when button has been pressed already in my shell script which is sniffer network for any requests from Amazon Dash Button
So this part is done
now i need call somehow MC and update value there
Jeeva Kandasamy
@jkandasa
I do not know about amazon dash button, can you give some overview?
Alex Manusovich
@manusovich
Sure. It is simple device for 5$ from amazon which is let you order stuff from amazon - it is in your wifi network and all you need is press button and request will be send to amazon
smart people figured out how we can use such device in our needs
So now i am trying to use this amazon button as door sensor and connect that to my MC
Jeeva Kandasamy
@jkandasa
ok, I got bit about it, Let me read more and come with an idea
mycontroller-org/mycontroller#160 clearing cache not working for you?
Alex Manusovich
@manusovich
it even doesn't matter - main question here how can i update sensor value in MC manually?
we know that we can do that through gateway
that is one way
do we have any others?
mycontroller-org/mycontroller#160 clearing cache not working for you?
Nope
Jeeva Kandasamy
@jkandasa
yes, gateway could be a better option
you can use MQTT
Alex Manusovich
@manusovich
do you have any kind of doc or example how can i use sensor value update through MQTT ?
Jeeva Kandasamy
@jkandasa
just create an MQTT gateway only for your amazon button device and when the button pressed send an MySensors like MQTT message
right now I do not have, I will create one and update you by tomorrow
Alex Manusovich
@manusovich
Thank you very much
Jeeva Kandasamy
@jkandasa
I want to narrow down the issue mycontroller-org/mycontroller#160 in chat
I am unable to reproduce, that what you are facing
can you try to open in private browser/
Alex Manusovich
@manusovich
don't worry about that
i will figure out that
Jeeva Kandasamy
@jkandasa
ok
Let me try now for amazon button
Jeeva Kandasamy
@jkandasa
MQTT setup example ready
I can guide you now
@manusovich ^
Alex Manusovich
@manusovich
Sure
Jeeva Kandasamy
@jkandasa
do you have external MQTT broker? or shall we go with inbuilt MQTT broker with MC?
Alex Manusovich
@manusovich
i don't have external
Jeeva Kandasamy
@jkandasa
gateway.png
create an gateway as shown in the image
Alex Manusovich
@manusovich
ok. doing that now
Jeeva Kandasamy
@jkandasa
ok
node.png
node details ^
sensor.png
Alex Manusovich
@manusovich
ok
Jeeva Kandasamy
@jkandasa
sensor details ^