Lets link this topic: https://forum.mysensors.org/topic/9012/anyone-tried-the-creality-cr-10-3d-printer
Posts made by pjr
RE: Heartbeat working or not?
//V_TRIPPED //V_ARMED //V_LOCK_STATUS //V_STATUS //V_PERCENTAGE //V_SCENE_ON //V_SCENE_OFF //V_UP //V_DOWN //V_STOP //V_RGB //V_RGBW
RE: Request data from Domoticz
So if I understand, a node from domoticz can only ask the status of a sensor connected already him, and not the status of other nodes of the network!
So it is impossible for me to create nodes / displays to display the status of other sensors in the network.
The only way is to use some old mobile phone as a display point
You can directly request data from other node(nothing to do with domoticz).
From documentation: https://www.mysensors.org/download/sensor_api_20#requesting-data
Requests a variable value from gateway or some other sensor in the radio network.
void request(uint8_t childSensorId, uint8_t variableType, uint8_t destination);
childSensorId - The unique child id for the different sensors connected to this Arduino. 0-254.
variableType - The variableType to fetch.
destination - The nodeId of other node to request data from in radio network. Default is gateway.
Other way is that you can present some text sensors in your "screen" node and update those from scripts at domoticz.
RE: 💬 Building a wired RS485 sensor network
another is having each node listen before transmitting
How would you describe this functionality in MySensors rs485 code?
If I'm reading the code correctly it is exactly reading the bus and making sure no other node is sending before sending anything.
The place where collision can happen is those 5 microseconds what the node is waiting to get driver tx enabled pin up.
So the collision avoidance is already there. So what MyS R485 transport is missing is collision detection and recovery from collision.
CAN bus( a mutli master 485 comaptible bus) is another option.
Its disadvantage is small payload size.
@nofox Its quite like how the Modbus works. By polling.
I think there is some better ways to do that. Check these out from google:
- RS-485 Token ring
- RS-485 RRP (Round Robin Protocol)
RE: Domoticz help using V_VAR1 and S_CUSTOM
So my questions are, first, are the V_VARx variables working? And if they are working, are they accessible from a device like the irrigation node?
There is the current state of V_VARx variables in domoticz: MySensors set and send V_VAR
And there is what you can store/request: hardware/MySensorsBase.cpp#L2241