Look at characters on end of your command.
You have got two times " instead of two times '
Posts made by kimot
RE: Request data from Domoticz
Read post from gizmocuz commented on 10 May
There is a switch example, but domoticz can call events when temperature changes or periodically every minute etc.
And then you can store new value onto V_TEXT, which can be requested from mysensor node or in newer versions of domoticz is automatically sended to your mysensor node and can be displayed on LCD.
RE: Energy meter with two tariffs
I think MySensors do not support this P1 power meter.
For S_POWER type you have got only this variables: V_WATT, V_KWH, V_VAR, V_VA, V_POWER_FACTOR
If you need this two tariff power meter in Domoticz you must use other platform ( ESPeasy for example ) witch support sending JSON http calls.
For P1 power meter format is:
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
USAGE1= energy usage meter tariff 1, This is an incrementing counter
USAGE2= energy usage meter tariff 2, This is an incrementing counter
RETURN1= energy return meter tariff 1, This is an incrementing counter
RETURN2= energy return meter tariff 2, This is an incrementing counter
CONS= actual usage power (Watt)
PROD= actual return power (Watt)
USAGE and RETURN are counters (they should only count up).
For USAGE and RETURN supply the data in total Wh with no decimal point.
(So if your meter displays f.i. USAGE1= 523,66 KWh you need to send 523660)
RE: Concept of a flexible but simple smart network
I think your addressing concept do not respect hardware - microcontrollers and radio modules we are using.
Some hardware ( RFM69, serial in 9bit mode, etc. ) can filter incoming messages itself and do not disturb controller when
receive different address then node own ID or broadcast.
For example with RFM69 you can store node ID and broadcast address in radiomodule and it will receive only messages with this specific addresses.
But your address schema uses 4 lower bits for node ID ( 0-16 ) and lower 8 bits in all combination for broadcast too.
Your node must receive all 16 bits to distinguish - if it is node addressed message or broadcast call.
So you cannot use addressing features of our hardware.
I think, better is divide 16 bits to 8 bit node ID and 8 bits network ID.
Network filtering and routing then make gateway and distribute messages to connected nodes or other networks.
RE: remote control design idea
Switch it completely off.
Use button with two pairs of contacts.
One pair on each button connect battery + pole with processor power pin.
Second pairs to different inputs pins.
You push button, processor will start execute program, immediately read inputs status,
then send command and when you release button, it will be switched off.
If you need longer processing time and do not want hold button all this time, then processor can hold power itself by logical output with connected transistor. When work will be done, then switch itself off.
Your car remote key works the same way.
RE: Running a 5v Arduino at 3.3v on battery
Problem is, that you want something like perpetuum mobile.
Arduino on 5v at 16MHz has got higher power consumption than on 3V at 8MHz.
Step up VR or not - simply higher.
Plus VR has its own not 100% efficiency and power consumption.
Still you wont the same battery life?
Therefore people maybe suggest you reprogram fuses on your Arduinos and use internal oscilator and run on 3.3V
RE: [SOLVED] Gateway RS485
And why wait 3 weeks for new PCB?
Simply cut bad connections on PCB a and make correct connection with wire.
And four RS485 connectors on gateway?
RS 485 is bus - from one node to next, all in one line.
Not star topology.
If you plan connect four nodes with 20 m of cable to those connectors - you will be in troubles.
Gateway must be connected like other normal nodes. Only sw is different.