Page 1 of 1

LJ12A3

Posted: 18 Nov 2019, 16:11
by remko2000
I follow this schema:
https://www.letscontrolit.com/wiki/inde ... tle=LJ12A3 I connect everything like the diagram and connect it with my wemos on D6.

Now I'm struggling with the settings for my wemos such as debounce time, countertype and modetype. What are the correct settings?

I made a switch in domotics like this way:

Code: Select all

http://192.168.2.70:8080/json.htm?type=createvirtualsensor&idx=29&sensorname=Waterverbruik&sensortype=113
and

Code: Select all

http://192.168.2.70:8080/json.htm?type=setused&idx=IDX_HERE&name=Waterverbruik&switchtype=2&used=true
I tried several settings but no counting. The led on my sensor lights up with every liter so the sensor makes contact with my meter.

Re: LJ12A3

Posted: 18 Nov 2019, 19:53
by kimot
And where you found IDX=29 ?

I think, you simply copy an example from Domoticz wiki pages or some tutorial.....

It is hardware ID.
Your HW ID you can obtain with:

Code: Select all

 /json.htm?type=hardware
Then you select your hardware under which you want to create your sensor and use its IDX in your command.

After you create your sensor, again obtain its IDX by command:

Code: Select all

/json.htm?type=devices&filter=all&used=true&order=Name
and use it in ESPeasy IDX box.

But I recommend create virtual sensor through Domoticz web interface and make a note about its IDX and then use it in ESPeasy.

Re: LJ12A3

Posted: 18 Nov 2019, 20:01
by kimot