Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Question

Posted

Hello.

Does anyone have an idea how to make a virtual device to control Sonoff Basic with the loaded espeasy or other software so that you can switch on and off the device with the HCL.
  Is it possible to read states in the HCL or is switched on or off.

Recommended Posts

  • 0
Posted

Hi,

 

I would like to buy 2 sonoff basic (

Please login or register to see this link.

).

 

My question is: do I must to install Tasmota FW to use with HC2? If yes, are they compatible?

  • 0
Posted

You need to upload TASMOTA to sonoff because these VD is written for this software.

  • 0
Posted

This is a basic sonoff and it will definitely work. I have a few others but they all work on TASMOTA

  • Like 1
  • 0
Posted

Hi,

 

I have a Home Center 2 and bought some Sonoff Mini DIY relays. They are in DIY mode now, hanging on the same router as HC2, all have a unique IP. 

 

In Advanced REST Client it's working:

 

http://192.168.37.201:8081/zeroconf/switch

{"deviceid":"1000a48dc7","data":{"switch":"off"}}

 

In HC2 virtual device settings I filled IP and port (8081). 

Can somebody help me the string-type command I must to be written in the field to swich them ON and OFF?

  • 0
Posted
On 9/25/2018 at 10:16 PM, AutoFrank said:

 

Assuming you have flashed the device with Tasmota , adjust IP to suit

note: there is a space in the command string that is represented by the typical %20 representation

 

Sonoff basic

On - http://192.168.1.153/cm?cmnd=Power%20On

Off - http://192.168.1.153/cm?cmnd=Power%20Off

Dim - http://192.168.1.153//cm?cmnd=Power%20TOGGLE

 

http://192.168.1.153/cm?cmnd=status%200 (full status in in browser or HC2)

 

Please login or register to see this code.

MagicHome 

same as above but also has dimmer

x is dim value between 0 and 100

 

http://192.168.1.153/cm?cmnd=dimmer%20"..x 

 

Dimmer with slider in VD

Please login or register to see this code.

Fade off VD button

Please login or register to see this code.

Fade off button

Same as above but replace 

Please login or register to see this code.

with

Please login or register to see this code.

100 - start value, 0 - end value, 1 - decrement value

 

 

Magichome

Counter Lights VD  (this controls 2 RGB modules, colors displayed by the presets may vary with your led strip)

Please login or register to see this attachment.

 

Sonoff basic

running a lamp

Please login or register to see this attachment.

 

Sonoff TH16 with Temp/Humidity sensor

Running a bathroom extractor fan (sensor above fan in extractor tube)

Please login or register to see this link.

 

Please login or register to see this attachment.

 

 

 

 

 

 

 

 

 

 

 

 

Hi

 

  • Do I need Tasmota on Sonoff TH16 or it is working with factory firmware (3.4.1 version) ?
  • 0
Posted

@iTibor All SonOff devices by default has clouds firmwares and you can’t driving device locally 

  • -1
Posted

Thank you for your help. Now it works :-)

image.png.ee92cbdda51a49b1b5ef836ddc4a1566.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...