Comments (11)
Okay, I just noticed the link to the plugin docs. Looks like it wouldn't be too hard to write a plugin to add support for Zigbee2MQTT.
from scrypted.
I’ve been looking at mqtt, but haven’t gotten around to doing it yet since don’t have any mqtt devices. I get the general gist of the pubsub mechanism, but is there a data standard on the endpoint names for say, a lights, and what payload is published and posted? different client/publishers seemed to vary and required different payload handlers, from what I saw.
from scrypted.
I do have a zwave stick that i have a plug-in for, that I could put behind zwave2mqtt…
from scrypted.
Stop in on the discord and I can help you get started with vscode. The docs should be generally up to date though.
from scrypted.
MQTT itself has no structure at all. You can put any string you want in the payload. A lot of projects that make use of MQTT use JSON for the payload. Zigbee2MQTT has some really good documentation on how the MQTT payloads need to look.
As for your Zwave stick. Zwave and Zigbee are not the same thing. There is a list of supported adapters here, some are as cheap as $12. There are tons of cheap Zigbee devices out there too. For example all the Ikea smart stuff uses Zigbee.:
https://www.zigbee2mqtt.io/information/supported_adapters.html
I personally use the zzh! but it's really hard to find in stock. I always sign up for notifications when they come back in stock but if you wait even 5mins to jump on and order it will be too late. Took me about 2 months to finally be fast enough to catch them in stock.
I've just found Zigbee devices to work more consistently and seem to have less latency when sending commands. I have a few Zwave devices and a lot of times I send a command to them and they don't respond at all or they take 3 secs or so to respond. My Zigbee stuff responds instantly.
from scrypted.
Yes, I know zwave and zigbee are not the same thing. I was just saying I could use the zwave2mqtt project to build/test an mqtt plugin, since I have around 70 zwave devices here. None of my other hardware talks mqtt.
from scrypted.
A lot of projects that make use of MQTT use JSON for the payload. Zigbee2MQTT has some really good documentation on how the MQTT payloads need to look.
so a generalized mqtt plugin would likely need to allow the user to specify the publishing topics and parse the meaning of the payload?
from scrypted.
A lot of projects that make use of MQTT use JSON for the payload. Zigbee2MQTT has some really good documentation on how the MQTT payloads need to look.
so a generalized mqtt plugin would likely need to allow the user to specify the publishing topics and parse the meaning of the payload?
Yes, I know zwave and zigbee are not the same thing. I was just saying I could use the zwave2mqtt project to build/test an mqtt plugin, since I have around 70 zwave devices here. None of my other hardware talks mqtt.
Oh sorry.. I misread zwave2MQTT as Zigbee2MQTT. I've not looked at the zwave2mqtt project. I suspect the payloads wouldn't be close enough to have a generic plugin that cover both platforms. Although I do think a generic MQTT plugin would be better than one specific to Zigbee2MQTT and another one specific to Zwave2MQTT.
There is a nice MQTT plugin for homebridge called homebridge-mqttthing that you could get ideas from. I use it for a lot of projects of my own. For example I have an RPi in the garage that runs my garage door, sprinklers and an outdoor shower. To bridge these things into HomeKit I simply added a MQTT interface to my project and then used the homebridge-mqttthing plugin to talk to them. So many projects are using MQTT these days. Frigate NVR is another project that comes to mind that you could tie into with MQTT.
There is also a nodejs module for MQTT that is dead easy to use. npm -S i mqtt
. I'm sure there is a docker image out there to spin up a Mosquito server with minimal effort.
from scrypted.
Have started MQTT support. Have included the Aedes broker.
Right now it provides an easy way to write scripts that manage MQTT subscriptions. Or create domain specific languages to create common devices:
Need to eventually add support for HASS autodiscovery protocol.
from scrypted.
@noelhibbard have an initial implementation of mqtt auto discovery. what sort of devices do you have a on zigbee?
from scrypted.
WOW! It's great!
Maybe I can add doorbell sensor from MQTT? )
Can you help me?
from scrypted.
Related Issues (20)
- Unable to install Sensibo plugin from Plugins search HOT 3
- Amcrest authentication issues HOT 5
- Stream not working HOT 1
- iOS 17.5 Beta live streaming not working
- Rebraodcast - Syntax error HOT 3
- Arlo Camera Plugin stuck in a loop when start HOT 4
- Dahua Motion not working after adding custom motion sensor HOT 4
- config.yaml not updated for .97 for HA install
- Previously selected IP address unable to be removed from setting "Scripted Server Address" HOT 4
- IO error - Invalid argument in DB HOT 2
- Docker compose file fails on zimi board
- DoorBird - Support for D1101V HOT 6
- From 098.5 to 0.99 cpu avg load increased HOT 2
- HA install yaml update needed again. HOT 3
- Live Video Feed via Notification on Apple TV with Scrypted Integration HOT 1
- VYSOR pro license is not working HOT 1
- Koush aka Koushik Dutta is a rude ill mannered person
- Incompatible with Windows Node 20.12.2 HOT 1
- Client error on /addons/xxxxxxxx_scrypted/changelog HOT 15
- Config.yaml not updated for 102 install HOT 1
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 scrypted.