Closed aidbish closed 3 years ago
Already in PR > https://github.com/dresden-elektronik/deconz-rest-plugin/pull/4379
Arf, fck. No your device is a different one, give me 15 mn.
Done. do you know how to test the code ?
sudo apt install deconz-dev
git clone --branch tuya_siren_clean https://github.com/Smanar/deconz-rest-plugin.git
cd deconz-rest-plugin
qmake && make
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
i run deconz in docker, is there a dev tag i can pull? or can i do the above in the console of container directly
No it s too much complicated on docker, will see on future version.
Does not recognise the device for me
@ikke-zelf remember you need 2 inclusion without deleting the device. Wich one deconz version a re you using ? Can you share the manaufacture name to check the device ?
Hi Smanar
i have tried with the recent beta build 2.10.2 but it doesn't show up in phoscon app. I can see it in vnc network map, but i get the following in the logs
@aidbish That is supposed to happen. Phoscon needs to add support on their own. The RestAPI should expose it.
You are not using third app ?
hi smanar, not sure i follow, 3rd app?
An application that use the deconz API, like home automation/openHAB/Domoticz/FHEM/nodeRed, ect ...
Sorry, Home assistant
And nothing is visible on HA ?
Probably same issue than here https://github.com/dresden-elektronik/deconz-rest-plugin/issues/4549 even it s not the same device.
No nothing in HA
You don't have linux machine to make test with code modification ?
Probably solved by https://github.com/dresden-elektronik/deconz-rest-plugin/pull/4617
Hi all,
i have same Tuya NEO Sirene Device on Deconz 2.10-4 beta - Phoscon doesn´t show the device - pairing is not successfull:
What i have to do now?
Thanks
I´m working with iobroker and the deconz-adapter... I can´t see it over API too.
I also can’t pair this device on 2.10.4
The hex code indicates it isn't whitelisted in the Rest plugin. Therefore, not added/visible in API.
@Smanar can you confirm?
Yep. I think your manufacture number is 0x1002 (the previous code work only for 0x0000) ? This PR correct this issue https://github.com/dresden-elektronik/deconz-rest-plugin/pull/4617 but it was included in v2.10.5.
Which date will come the new beta?
Honestly the schedule is not perfect ^^. But you have at least 1 beta and 1 stable by month.
@Smanar Should this work in 2.11.0-beta? Thx!
Yep https://github.com/dresden-elektronik/deconz-rest-plugin/releases/tag/v2.11.0-beta
Is that correct that I only have binary sensor, humidity and temperature in HA? How to use the alarm in HA?
I tried multiple inclusions without deleting something between.
Many thanks for the help!
Can you take a look direclty in the api ?
http://IP:PORT/api/key/lights
IP and PORT are the same than in phoscon KEY is an apikey https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/
Or logs just at start, to find something about the lights entries....
Hi, so with the new beta the Tuya siren is detected as alarm 75 in Deconz, nothing is detected at all in Phoscon.
I wanted to check the API for you, but the device is not listed there either. If I look in the Deconz-Gui then it looks like this:
Can it be that it is currently not yet possible to control the siren somehow? Do you need anything else so that you can implement this completely? many thanks for your help!
You need to use third app to control it, or direclty the API, not supported by phoscon yet.
Homebridge-hue didnt work too :/ Do you know which third Party App works?
Homebridge-hue need to work https://phoscon.de/en/conbee2#hasystems (perhaps it not support all devices ...)
You can try first directly with api to be sure all is working.
http://IP:PORT/api/KEY/sensors
and
http://IP:PORT/api/KEY/lights
IP and PORT are the same than for phoscon KEY is an API key
https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/
Try first to see if you can see the device in the API.
so i looked in the rest api again, now it shows up some sensors for Tuya (look in the attached file) Sensors.txt lol now it only shows a humidity sensor in deconz gui (see on my picture), but under "lights" in the rest api is nothing :/
Ok, so can you try to include it again, and share the logs during the inclusion (with "info" and "info_l2") Remember never delete the previous entries, just re-include it.
Deconz show only the node, so you have only one, phoscon show the sensor entry, so you need to have 1 lights (missing for you) and 3 sensors.
Edit: There is a problem, you can make the try, but some code part have disapear from original code, need to check what happen, but it will not prevent the entry creation.
Hallo, wann kann man damit rechnen das dieses Gerät Supportet wird?
@Heichele Someone needs to test with smanar :) For further posts: please stick to english 😄
I would, however my Deconz is now running over docker. I had huge problems with the beta and my HUE motion sensors. Now I'm back on stable :/ And there the Tuya is recognized as no sensor at all.
@Mimiix Okay
Oup, have forget, sorry. Have just made the PR for the removed part https://github.com/dresden-elektronik/deconz-rest-plugin/pull/4844
But it have no impact on the device detection.
@Smanar can I help with testing?
Sure, if you are using a recent deconz version, and have a device not reconised, I will be interested by your logs (with "info" and "info_l2") during the inclusion.
Tuya stuff need generaly 2 inclusions, without deleting anything between both.
FYI: i‘m using latest beta and the ioBroker adapter as third party component. After implementation i get three sensors - Alarm, humidity and temperature but i can‘t trigger them... How to do this?
I read that a light is missing to trigger... but there is nothing.
Thanks
@Smanar I'm not very good at these things, i need some help executing ... "Info" and "info_I2"?
@Heichele depend if you have headless or GUI deconz version ?
@nukleuz80 have found the problem, are you able to compile code to make test ?
You have the procedure here https://github.com/dresden-elektronik/deconz-rest-plugin#install-deconz-development-package-optional-linux-only So for you, after having installed deconz :
sudo apt install deconz-dev
git clone --branch tuya_siren_7 https://github.com/Smanar/deconz-rest-plugin.git
cd deconz-rest-plugin
qmake && make -j2
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
Ok so the PR is already validated, you will be able to test it on the next beta version, tell me if it's good with the correction, to close this PR.
Ok, i will test in next beta.
A question to the dev-version of deConz: Is it possible to run it on the same system as the beta runs? Then i will try it...
Depend of what you are calling the dev-version ? and depend too your system. PR stay in waiting list, then manup valid some of them, and immediatly after make a beta or stable version with them.
But if you are taking about compiling yoursef the code to test, the procedure just replace a file, you can keep the old one on another folder to make a rollback after your tests.
But all works fine if you have a full OS, more complicated on docker.
I mean with dev-Version the link you have posted - and i understand what you wrote and how to do it .
My OS is Raspbian Buster and i will give a try to compile it myself...
Thanks...
ha ok, so it s not realy "the" dev Version, but more "my" dev version ^^, nothing official. But yes, you just need to swap files to swap versions.
Ok, i compiled it and now i get three sensors + one light. In Phoscon i see the light but cant switch or toggle it. W How should be the workflow?
Thanks
And yes, i added it two times without deleting. 😎
Please could i request the following device be supported at your earliest opportunity
https://www.aliexpress.com/item/4000813903996.html
Screenshots
If available add screenshots of other clusters.
Relevant clusters are: Simple Metering, Electrical Measurement, Power Configuration, Thermostat, etc. You can typically spare Identify, Alarms, Device Temperature, On/Off. Please ensure data has been read prior to taking any screenshots. -->