AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.73k stars 415 forks source link

Support Devices and Areas #83

Closed Tahutipai closed 2 years ago

Tahutipai commented 4 years ago

This is amazing, thankyou! Much better than flashing firmware.

I have this successfully set up, and can control my Sonoff S31 smartplugs from Home Assistant.

But I can not figure out how to add these devices to a "Room" within Home Assistant. E.g set one plug to "Living room", and another to "Bedroom" etc.

Any tips on how to do this?

AlexxIT commented 4 years ago

Hey. I have not implemented "devices" yet. As far as I know, only devices can be placed in rooms.

darkpwny commented 4 years ago

+1 Bump. Required for some automation tasks.

AlexxIT commented 4 years ago

You don't need devices to set up automation.

mrulke commented 4 years ago

Would really love this as i am using https://github.com/thomasloven/lovelace-auto-entities and making cards based on Area. cant so this with entities. so would love to see this added.

mstumpel commented 4 years ago

You say in one of your comments that You don't need devices to set up automation. Do you have some sample config of such eg. an automation to turn on a sonoff switch at a certain time?

AlexxIT commented 4 years ago
service: homeassistant.turn_on
entity_id: switch.sonoff_1000112233_aquarium

image

mstumpel commented 4 years ago

Thx for your very fast support

Regards

Marcel Stumpel

From: Alex X notifications@github.com Sent: 05 November 2020 16:25 To: AlexxIT/SonoffLAN SonoffLAN@noreply.github.com Cc: Marcel Stumpel Marcel.Stumpel@diasemi.com; Comment comment@noreply.github.com Subject: Re: [AlexxIT/SonoffLAN] Support Devices and Areas (#83)

service: homeassistant.turn_on

entity_id: switch.sonoff_0123456789

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/SonoffLAN/issues/83#issuecomment-722447435, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIRFSPWA5NGHGA7OZE5FGJ3SOK7VLANCNFSM4MT5534Q.

HansHM commented 4 years ago

I am switching from Tuya to Sonoff and can confirm that https://www.aliexpress.com/item/4001174956201.html Tuya Temperature Humidity Sensor Alarm System Devices Intelligent Home Automation for Alexa Amazon Google Support General APP

Is working with de Sonoff Zigbee Gateway and Hassio.

AndyZaa commented 3 years ago

Would really love this as i am using https://github.com/thomasloven/lovelace-auto-entities and making cards based on Area. cant so this with entities. so would love to see this added.

Thank you very much for this excellent capability, AlexxIT. However, adding my Sonoff AlexxIT integrations to Areas is the one thing that I am missing as well. Mostly for auto-entities but also for general organization of components.

tom1422 commented 3 years ago

Yes this would be very helpful as it would require not having to go into advanced mode for scenes

AlexxIT commented 3 years ago

Latest HA support Areas for entities. Not only for Devices

AlexxIT commented 2 years ago

Check new beta-version: https://github.com/AlexxIT/SonoffLAN/releases