LJ12A3

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
remko2000
Normal user
Posts: 55
Joined: 28 Dec 2017, 15:56

LJ12A3

#1 Post by remko2000 » 18 Nov 2019, 16:11

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.

kimot
Normal user
Posts: 170
Joined: 12 Oct 2017, 20:46

Re: LJ12A3

#2 Post by kimot » 18 Nov 2019, 19:53

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.

kimot
Normal user
Posts: 170
Joined: 12 Oct 2017, 20:46

Re: LJ12A3

#3 Post by kimot » 18 Nov 2019, 20:01


Post Reply

Who is online

Users browsing this forum: Dondolo and 4 guests