With Sonoff, the button is attached to GPIO 0 and the relay to GPIO 12. You can also have GPIO 14 available if you soldier all 5 pins on the board. The one on the most left is GPIO 14.
As for the switching, you need to use rules - take a look at the forum for ESP Easy, we have discussed that there.
Search found 68 matches
Re: Sonoff
If you have installed ESPEasy on Sonoff, take a look at: https://www.letscontrolit.com/wiki/index.php/Relais
- Saturday 13 May 2017 8:56
- Forum: Python
- Topic: Python Plugin: Samsung TV
- Replies: 176
- Views: 50531
Re: Python Plugin: Samsung TV
I have a 2016+ SamsungTV. I have installed the samsungctl and websocket plugin and everything works from command line. I have also copied samsunctl and websocket to /usr/local/lib/python3.5/ and plugin started working in Domoticz, meaning the 4 devices have been created. But the current state of ...
- Wednesday 22 March 2017 19:36
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Dear Deennoo looks promissing.. Only is it perhaps possible that the image is not working/broken? .. Deamontools says damage.. :-( I have downloaded the image from Deennoo and can open it in Image Writer. I have calculated MD5 hash, so we can be sure if the image is correct. Deennoo, will you ...
- Friday 10 February 2017 18:24
- Forum: Blockly
- Topic: Xiaomi Wireless Switch Click action issue
- Replies: 19
- Views: 13213
Re: Xiaomi Wireless Switch Click action issue
Why don't you set "LampaBorysa_K1" and "LampaBorysa_K2" to "On" ? Mistake on your Else If, in the "or", you check two times "LampaBorysa_K1" I have corrected this (have missed that completely, so thank you), but this has not solved the problem. I have even removed the whole AND part of the second ...
- Friday 10 February 2017 14:54
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I do have the cube camera from Xiaomi. Very nice camera great resolution. Only 1 thing i cannot see the camera in my lan [ just the IP, not a ui ] , only visible in the Xiaomi app. Perhaps some have this camera in Domoticz working, like a normal IP camera. I ask Xiaomi, only no answer... Before you ...
- Friday 10 February 2017 14:10
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi deennoo, Do I understand you correctly that currently you already can get the power usage into Domoticz from these plugs (http://www.gearbest.com/living-appliances/pp_344666.html)? My 2 cents on the situation: the documentation provides info on how the data should be reported. The issue is ...
- Friday 10 February 2017 10:36
- Forum: Blockly
- Topic: Xiaomi Wireless Switch Click action issue
- Replies: 19
- Views: 13213
Re: Xiaomi Wireless Switch Click action issue
Here is my setup. I have 2 blockies, setting up the status of a group. I am not a big fan of "Else if" :mrgreen: Capture.PNG Capture1.PNG And the scene is the following: Capture2.PNG I am also not a big fan of else if, but what I am trying to achieve is to act on Click action depending on whether ...
- Friday 10 February 2017 10:34
- Forum: Blockly
- Topic: Xiaomi Wireless Switch Click action issue
- Replies: 19
- Views: 13213
Re: Xiaomi Wireless Switch Click action issue
Any ideas? I haven't looked into your script yet, but can you confirm you have the same states as lamouette for the switch? - xiaomi_states.PNG Yes, I have removed the switch and added it back again when Long Click Release has been added and I have exactly the same set of actions on the selector. I ...
- Friday 10 February 2017 8:57
- Forum: Blockly
- Topic: Xiaomi Wireless Switch Click action issue
- Replies: 19
- Views: 13213
Re: Xiaomi Wireless Switch Click action issue
Yes, so this is what I set, but to 1s. Yet this does not change the state of the Selector. After Click action, the selector stays on Click, does not switch to Off state. Edit: Wait, this seems to be working now :) Edit 2: I need to check the rest. If I have just Click and Double Click actions and ...
- Friday 10 February 2017 8:50
- Forum: Blockly
- Topic: Xiaomi Wireless Switch Click action issue
- Replies: 19
- Views: 13213
Re: Xiaomi Wireless Switch Click action issue
Hi Michal, On my side, "Off" state of the Xiaomi Switch has been set up inside the selector configuration (with a 5 seconds delay) and not inside my blocky(ies). Please also have a look, still inside the selector configuration of the selector levels order: 00 Off 10 Click 20 Long click 30 Long ...
- Friday 10 February 2017 7:53
- Forum: Blockly
- Topic: Xiaomi Wireless Switch Click action issue
- Replies: 19
- Views: 13213
Re: Xiaomi Wireless Switch Click action issue
just add a 1 sec delay to the switch, should be enough Unfortunately, this does not suffice. For some reason, Off is not set on the selector. I have even tried to replace text "Off" with standard Off state, but then selector behaves strangely: both actions stay marked on the selector: Off and Click.
- Thursday 09 February 2017 22:07
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I'm very interesting in a posibility to monitor power usage per plug. I understand that in principle this is possible with the xiaomi plugs, but this option has so far not been implemented into domoticz. Is this just a matter of time, or could this in the end not be feasible at all? Thanks That ...
- Thursday 09 February 2017 22:04
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I have just posted an issue I am facing with Xiaomi Wireless Switch (the round one) here. It would be great if you could comment and provide ideas on how to solve the click issue I am facing.
- Thursday 09 February 2017 22:02
- Forum: Blockly
- Topic: Xiaomi Wireless Switch Click action issue
- Replies: 19
- Views: 13213
Xiaomi Wireless Switch Click action issue
I have build a scenario, where I am using Wireless Switch by Xiaomi (a round one) + great AC Dimmer by trackerj . More on this and initial movie, showing current scenario here . All is working fine in general, but there is a small issue. My current blocky uses Click action to power on the lights and ...
- Wednesday 08 February 2017 11:31
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Guys ! Corbin and you are the mens of Xiaomi In Domoticz Dev ! got a small teaser for you : http://domo-attitude.fr/cube-xiaomi-teaser/ Xiaomi Cube + Yeelight : Rotative dimmer ! Hi deennoo can you share the script to get dimming light with Cube, looks very nice? Should it work also with a colored ...
- Friday 03 February 2017 21:03
- Forum: Switches and Scenes
- Topic: multifunctional virtual switch ?
- Replies: 9
- Views: 3628
Re: multifunctional virtual switch ?
Since Easy ESP allows you to have rules with event names in them, you could use selector swich in Domoticz and send specific event name to ESP. HTH
- Friday 03 February 2017 19:50
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Why don't you use scene or group ? Set a group with you gateway to your color https://uploads.tapatalk-cdn.com/20170203/ad9a37f6d86e8ccf286aa3914dc1ef78.jpg And use it with your blocky or lua ! This way you can choose color brightness etc etc. Thank you, I have indeed created a group, set desired ...
- Friday 03 February 2017 9:34
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
- Friday 03 February 2017 9:05
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 537851
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Ok, let me be specific. The only requirement is to turn on the light with custom set color and not change brightness from what is set in the Gateway by MI Home app.
At the moment, this is not what I am getting, esp. color.
At the moment, this is not what I am getting, esp. color.