banban525 / echonetlite2mqtt

ECHONET Lite to MQTT bridge.
MIT License
48 stars 7 forks source link

Lightning control #16

Open flutschepfeil opened 1 year ago

flutschepfeil commented 1 year ago

Hello, First let me thank you for the amazing project, it seems like just the perfect solution for me. Also, let me apologize, because this is not exactly an issue, but a question. I'm using home assistant and want to make my light switches smart. So far I only found the Panasonic Advance (Plus) series. Is my assumption correct that I need the Link-plus wireless adapter to read out the states and issue commands?

I was hoping that you can give me a small push in the right direction and how to start off.

aftertommy commented 1 year ago

Unfortunately link plus itself isn’t echonetlite compatible. The Aiseg2 adapter makes them controllable via the web browser, and it also allows (limited) control of echonetlite devices via web browser, but it doesn’t do any bridging to echonetlite.

There exists a limited homebridge project for controlling link plus lights, but none for home assistant. The work involved appears straightforward— it’s a matter of building a scraper. But someone just has to do it.

aftertommy commented 1 year ago

Here’s the homebridge project:

https://github.com/vwhitteron/homebridge-aiseg2

banban525 commented 1 year ago

@flutschepfeil

I have no connection with Panasonic, so I can't give you an exact answer.

ECHONETLite2MQTT is an application that communicates using the ECHONET Lite specifications. We can check supported devices on the ECHONET website.

I found a wireless adapter for the Panasonic Link Plus Switch.

If your switch is Panasonic Link Plus, you may be able to control it with ECHONETLite2MQTT using this device.

However, I do not recommend trying it, because this device is expensive and you may not be able to control the switch.

aftertommy commented 1 year ago

Yeah you won’t be able to control the switches with that adapter.

That said, if you’re handy with coding you could build a bridge that allows you to control the lights over MQTT (or whatever).

flutschepfeil commented 1 year ago

Apologies for the late reply. Thanks for all the ideas and answers. I have sadly no experience with coding, so creating something from scratch will be difficult for me.

As for the homebridge, I would need an AppleTV to make use if it I assume?

Are there in general smart switches (tactile, also 3way or 4way) that would work with home assistant in Japan? @banban525 may I ask if/what you are currently using as smart switches? :)

banban525 commented 1 year ago

@flutschepfeil

As for the homebridge, I would need an AppleTV to make use if it I assume?

I can't answer because I don't use Homebridge.

Are there in general smart switches (tactile, also 3way or 4way) that would work with home assistant in Japan?

As far as I know, the only "legal" smart switches are Panasonic Advance Series Link Plus.

The following site controls the Panasonic Advance Series with the ECHONET Lite protocol, so there is a high possibility that the Panasonic Advanced Series can also be controlled with ECHONET Lite. (aftertommy seems to have a different opinion)

https://diysmartmatter.com/archives/1651

@banban525 may I ask if/what you are currently using as smart switches? :)

I don't use smart wall switches. I wanted to use Panasonic Advance Series, but I gave up because it was expensive. Currently my lighting control is IR remote control only. But I have a license, so I can replace it myself in the future.

matthewbadeau commented 1 year ago

Based on the report in issue #20, Panasonic Advance Link Plus switches are confirmed to be compatible with ECHONETLite2MQTT if you use a network-connected EchonetLite compatible bridge like WTY2001.

aftertommy commented 1 year ago

Can confirm! WTY2001 works great. I apologize for earlier FUD — the aiseg2 adapter seems unable to do any echonetlite bridging but WTY2001 (wireless bridge) does.

flutschepfeil commented 1 year ago

@aftertommy and mathewbadeau many man thanks for the information and link to the other thread, this look like amazing news! :)