Comments (4)
@Hypfer I have recently looked into mqtt for another project and feel that I now could implement this with relative ease. Do you have experience with how to provide the autodiscovery facilities? Looking at https://www.home-assistant.io/docs/mqtt/discovery/ it appears that a json dictionary containing hass configuration posted to the right topic is sufficient.
from pyduofern.
Yep. Exactly
Here's an example for the autoconf payload of a vaccum.mqtt
device including device information
And here's an older one for sensor.mqtt
without device information
And another one. This time for cover.mqtt
which would also be used here
I've hacked this one together to control my Schellenberg Cover
{
"name": "Schellenberg Markisenantrieb",
"unique_id": "schellenberg_markisenantrieb",
"device": {
"manufacturer": "Schellenberg",
"model": "Funk-Markisenantrieb Premium",
"name": "Schellenberg Markisenantrieb",
"identifiers": ["schellenberg_markisenantrieb"]
},
"command_topic": "nodered/cover/schellenberg_markisenantrieb/command",
"state_topic": "nodered/cover/schellenberg_markisenantrieb/state"
}
Topic: homeassistant/cover/schellenberg_markisenantrieb/config
It's extremely basic and works in optimistic mode but it works
from pyduofern.
Z-Wave is also currently being "converted" to MQTT. Maybe there are code examples. MQTT + autodisovery + HACS installation would be great. Unfortunately I am not a programmer, but would help testing. I have a Rademacher garage door, a switchable socket and radio cover.
from pyduofern.
Hi @gluap, thanks for sharing your great work here on github!
Are you still working on the MQTT feature?
(In the past I used FHEM to connect my DuoFern Rollos via MQTT to a NodeRed installation, but since a few weeks FHEM can't establish the MQTT connection anymore. I think your pyduofern would be a much better and slender solution)
Best regards
from pyduofern.
Related Issues (20)
- Updating the existing pyduofern installation in HA HOT 1
- Home Assistant Component: Logger Warning HOT 3
- Adding "Duofern Umweltsensor 9475" und "Duofern Connect Aktor 9477" HOT 4
- [Question]: No stop command for the CLI? HOT 3
- Smoke detector not recognized HOT 6
- Error when sending command in Home Assistant 0.90.2 HOT 2
- Source tarball incomplete HOT 4
- Cover position undefined in Home Assistant after upgrade from 0.30 to 0.34.1 HOT 5
- Add Home Assistant custom component to HACS HOT 13
- ModuleNotFoundError HOT 3
- default could be more broad HOT 1
- Question - no issue HOT 2
- Rademacher changed pairing codes from 6 digits to 10 digts HOT 4
- Rademacher USB stick timeout when activating pairing mode (green LED is constantly blinking) HOT 6
- TypeError: object.__init__() takes no parameters HOT 3
- Feature Request: Allow api calls to all duofern functions
- trying to get 6way wallswitch type 'ad' to work HOT 2
- DuoFern 70000093 not available anymore HOT 8
- add a step in the documentation for non programmers like me
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyduofern.