Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Motion-Sensor, Door-Sensor and Smart Plug #6

Open
nohumaninput opened this issue Mar 6, 2017 · 11 comments
Open

Support for Motion-Sensor, Door-Sensor and Smart Plug #6

nohumaninput opened this issue Mar 6, 2017 · 11 comments
Assignees

Comments

@nohumaninput
Copy link

nohumaninput commented Mar 6, 2017

Do you plan to support further devices like the Devolo Motion (3-in-1) Sensor or the Door/Window (3-in-1) or the Smart Plug? I heard those are Philio Sensors with customized chip and firmware.

I managed to use the code from the philio app and change the hardware id to devolo. it works quite good, but sometimes the motion sensor hangs in alarm status, which causes a lot of problems.

EDIT: for me it was important to disable the illumination and temperatur differential report, because the sensor spammed their values to the homey and crashed the z-wave.

@bramoosterhuis
Copy link
Owner

Yesterday I added these devices, not sure if it all works correct, I don't own those devices. However, you can install the alpha branch using the developer tools. If you miss some additional configuration please add it by forking and do a pull request, or just poke me :-).

@bramoosterhuis bramoosterhuis self-assigned this Mar 7, 2017
@nohumaninput
Copy link
Author

Wow great news. Will try all the devices end of this week and report back.

@nohumaninput
Copy link
Author

nohumaninput commented Mar 9, 2017

re-test with correct alpha branch...

EDIT: Sorry for spamming. Good News.
First Tests with Motion and Door Sensors are positiv. Will run further test during next 24 hours.
Metering Plug is not working. After inclusion it shows error "invalid_commandclass...." in devices view. Keyfob remote can not be paired at all, inclusion ends in sort of loop.

@bramoosterhuis
Copy link
Owner

bramoosterhuis commented Mar 9, 2017 via email

@nohumaninput
Copy link
Author

nohumaninput commented Mar 10, 2017

Yes, last tests were with alpha branch and very promising. productTypeIDs are correct and inclusion for motion and door sensors work. I changed "id": 22, "size": 1, to "value": 0 because the sensors started spamming each change of lux.
As said in post before the metering plug (invalid_commandClass_COMMAND_CLASS_SENSOR_MULTILEVEL) and remote keyfob are not working at the moment.

@bramoosterhuis
Copy link
Owner

bramoosterhuis commented Mar 10, 2017

I set parameter 22 and 21 default to 0 (disable differential reports) now and added a checkbox to the config so you can enable it if required. The remote key fob is not working due to some issue with homey for details see: https://github.com/athombv/homey/issues/1261. But I also own a key fob (MT2653) so that will be tested with the next release of homey's firmware. I will look into the invalid_commandClass after work.

@bramoosterhuis
Copy link
Owner

@sporca I corrected the command classes and added the settings for the wall plugs. Let me know if this fixes the issue for the MT2646.

@nohumaninput
Copy link
Author

nohumaninput commented Mar 11, 2017

Your amazing. First test with 1 motion sensor, 1 wallplug and 1 door sensor is working great.
Some descriptions of settings in wallplug (MT2646) are not 100% correct (e.g. switch off auto...).
I now add more devices and test during weekend.

EDIT: Default mode for metering plus is "night mode" but it behaves like "normal" mode.

BTW. do you have a paypal donation link. I'd like to buy you some beer. :-)

@Barbados02
Copy link

Thank you for your work, just installed the alpha and my door contact is working.
Will you push this version to the app store or are more changes on the way?

Thanks again!

@nohumaninput
Copy link
Author

I'm still testing. Now with 3 Door-Sensors, 7 Motion Sensors and 3 Wall Plugs.

So far it's working good. I changed PIR-Sensitivity to 99, otherwise it's not detecting properly. Sometimes Motion Detection is very slow or not working reliably.
I think this is a problem with Homey Firmware.

Sometimes getting Transmit Error, but think this is Homey Firmware problem, too.
ProcessSendData[9903]: Error: TRANSMIT_COMPLETE_NO_ACK

One strange issue I have is with only one wall plug that is spamming his metering data every 30 seconds.
Received application command for COMMAND_CLASS_METER, data:

Pushing higher Watt Meter Reporting Period to the device does not change the behaviour. Maybe I have to re-include this plug, because it's working with the other 2.

I'm very happy with your work, absolutely cool!

@bramoosterhuis
Copy link
Owner

Good to read that every think seems to work smooth again. I submitted v1.0.3 of the app to a beta release. It will become available for everyone as soon as Athom approves it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants