Code Monkey home page Code Monkey logo

com.telldus's Introduction

Telldus

Adds support for Telldus Z-wave devices

Supported devices

Version log

  • 1.0.0 - Initial version - support for Door/window sensor
  • 1.0.1 - Added Plug-in Switch (Schuko) TZWP-100. Bugfix.
  • 1.0.2 - Added Telldus plug-in mini switch.
  • 1.0.3 - Rewrite to support SDK 2, and new athom-cli. Changed id´s to be strings. Added condition - meassured power in range for Telldus TZWP-102 plug.
  • 1.1.0 - Stable version
  • 1.1.1 (beta) - Fixed settings hint. Wrong description for TZWP-102 when power failure. Bad default values for TZWP-102 settings, and changed scale for percentage scale.
  • 1.1.2 - Replaced icon for TZWP-102. Was displayed incorrectly in newer version of app. Thanks to Marcus Karlsson and Johan Bendz for icon contribution and testing.
  • 1.1.3 - Fixed problem with plug-in switch TZWP-100 not updating status when manually triggered on plug. Energy compability updates.
  • 1.1.4 - Exclusion description updated. Readme.txt updated.
  • 1.2.0 - Support for Homey V5, SDK 3.0, added power reset for TZWP-102 (maintainance action and flow action), inclusion/exclusion description updated, updated icon for TZWP-100. Updated readme file, plus minor changes.
  • 1.2.1 - Added Plug-in French version TZWP-101, description in Norwegian.
  • 1.3.0 Added new device, Telldus Door sensor. White label device with Telldus branding. Updated localization, plus various minor fixes.

com.telldus's People

Contributors

dependabot[bot] avatar marcus-karlsson avatar mickem avatar mstarvik avatar xeterixon avatar yhaugom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

com.telldus's Issues

Device status after power failure is wrong i advanced settings

Under advanced settings "Setting device status after power failure" the legend is wrong Plug-in Switch mini (TZWP-102).

It reads:
0 = Always off (default)
1 = Remember Status
2 = Always on.

0 (zero) is actually equal to remember status, 1= Always on and 2 = Always off.
I have tested this on several plugs with firmware version 771.
Please correct this as it can be confusing and lead one to belive the plug-in switch is defective.

Thanks
Marcus

Telldus Smart Plug Energy Plug

Hi,

It would be great to get support for the Telldus Smart Plug Energy Meter (Item 15710) for Homey Pro 2023.
Any chance this could be implemented in the near future.

Best regards
Jone Gjerde

Reset power meter

Can't reset power meter through flow.

Is this possible to implement?

Pair wall plug mini as non secure

Can you please add code to add the wall plug mini as non secure?

Athom’s latest Fibaro app has example code for how to do this in Homey.
Got this response from Athom support...

You can refer them to the Fibaro sensor implementation in the latest app update if they need an example how to.

Unable to add Telldus TZWP-102/313510

Hello,
Want to leave my Animus Heart and just got my Homey Pro and started with connected a Telldus 433mhz plug without any problems.
When I´m trying add a Telldus Z-wave Miniplug TZWP-102/313510, pairing does not go all the way.
Uses Tellud's Z-wave app.
Homey finds the plug and starts pairing, then after a few seconds the Android app says "that the plug is no longer contactable".
Although it continues to flash in pairing mode.

Is this Telldus Z-wave compatible?
What can cause the interruption in pair mode?

Plug-in Switch Mini - TZWP-102 - Wrong power reporting?

I have three Telldus Plug-in Switch Mini, all of them are reporting incorrect power/wattage usage. I've tested a few different loads to better understand, and it almost appears to be reporting % usage rather than W..? a ~1000w toaster is reported as ~50w, a ~1000w toaster AND a ~1000w kettle is reported as ~100w while a ~30w lamp is reported as ~1,5w.. I have excluded and included the units multiple times without it making a difference.

Plug, LED indicator setting

The LED brightness indicator parameter doesn't work - when setting it via the app.

Setting the parameter RAW to 3,1,0 turns of the LED - selecting the value in the app does nothing.

Plug in mini switch not reporting power consumption

I use a plug in mini switch to measure the power consumption of a heat pump.
After the measured energy consumption reached 99,98kWh, the plug seemed to have stopped measuring.
Power consumption has been stuck on 307W and enery consumption on 99,98kWh for the last 8 hours, and this is clearly wrong.
Is there a limit of 2 digits on the energy counter?
And shouldn't there be a way to reset this counter?
I'm running version 1.1.0 of the app

TZDW-100, The door/window sensor, battery reading

Hi,

App works great. But, can you enable/fix/test battery reading? I saw your comment in the code "I do not think this device supports measure battery anyway", but when I did a google seach, I came across a comment in a homeseer thread that they made it work.

Tnx

Unable to add device

Im having real problems adding the door/window sensor,
If you need any logfiles im more than happy to supply you with them.

Z-wave plug (Schuko TZWP-100) not updating status.

Hi.

I have a ton of the plugs (schuko's) - i've been running them for quite some time, as a basic z-wave device. They have been 100% reliable in regards to updating their status. (On/Off)

I installed the app, tried re-including two plugs - they don't update their status.
Tried two more today - same problem.

Thank you for the app.

The app turns on devices and leave them on

First, thank you for a great app!

I have noticed that the app for some reason turns on devices but not turning them back off.
Is it really necessary to turn to turn them on at all?

See screen shot:
image

Unable to add Telldus door sensor

Hi!

I'm unable to add the Telldus door sensor to my Athom homey pro. I can pair the device but it does not recognise it as a Telldus door sensor and just adds a Basic Z-wave device.

From the manual I cannot see anywhere how to factory reset the sensor but I have tried holding the button down for a long while and that seems to have initiated something. Link to the manual telld.us/m15110.

Is it required to have a Tellstick to include the sensor to Homey or can you do it directly?

When I look at the settings i get this Device info:
Z-Wave Device Information
Secure

Battery

Device ID
35
Manufacturer ID
520
Product Type ID
512
Product ID
8
Firmware Version
1
Firmware Sub Version
5
Firmware ID
2048
Hardware Version
2
Device Class (Basic)
BASIC_TYPE_ROUTING_SLAVE
Device Class (Generic)
GENERIC_TYPE_SENSOR_NOTIFICATION
Device Class (Specific)
SPECIFIC_TYPE_NOTIFICATION_SENSOR

TZWP-102 Homey status does not update on external change

Hi

(App version: 1.2.0)
(Homey version: 5.0.0)

If I change the state of my TZWP-102's either by direct association or by pushing the button locally on the device, the status in homey does not change to reflect it.

I have tried to debug it myself and come up with a working fix, but I cant shake the feeling that I'm missing something obvious.
Especially since it works if I disable the app, and include the plug with the default Homey app.

To me it looks like the the plug uses COMMAND_CLASS_SWITCH_BINARY for operating the device, but the report when it's state changes is sent on COMMAND_CLASS_BASIC:

node.CommandClass['COMMAND_CLASS_BASIC'].on('report') arguments: [
  { value: 3, name: 'BASIC_REPORT' },
  { 'Value (Raw)': <Buffer ff>, Value: 255 },
  null
]

With this as my understanding I got it working by adding a custom report listener in the device.js:

this.registerReportListener(
    'BASIC',
    'BASIC_REPORT',
    rawReport => {
        if (rawReport && rawReport.hasOwnProperty('Value')) {
            return this.setCapabilityValue('onoff', (rawReport.Value > 0));
        } else {
            return null;
        }
    },
);

So I submit this as my suggested fix, but, as I said, I feel like I'm missing something obvious.

-Bendik

This is because Athom changed the way a device is included. They first do a removal before including the device to make sure it is completely removed.

This is because Athom changed the way a device is included. They first do a removal before including the device to make sure it is completely removed.
I think it is due to the problem that occurs when a device including partially fails. Then you previously had to remove the device manually before re-including.
I will try to find a more generic description, but this description is actually not incorrect... technically.

Originally posted by @yhaugom in #26 (comment)

Plug-in Switch Mini Default Advanced settings for meter report are too aggressive

When adding a Plug-in Switch Mini type TZWP-102 the time settings for meter reports are too agressive.
They are set to value "5" which means 5 seconds. With many of these plugs it means 4 metrics per plug every 5 seconds has to be sent over the mesh to Homey.
I recommend in next release setting defaults values to the default settings documented by Telldus.
600 second for power (W)
3600 seconds for Energy (kWh)
0 (disabled) for voltage (V) and current (A). These are anyhow not seen in Homey insights.

Below is cut and past from attached technical manual.
My feeling is not getting updates for these values in Homey can in part be caused by to excessive reporting set in the plugs.
TELLDUS_TZWP-102_technical-manual.pdf

Parameter no 101 - Power (W) report interval
This parameter defines the period of sending power reports
Default value: 600 seconds
Size: 4 byte
Possible values: 0: Disabled, 5-2678400 seconds
Parameter no 102 - Energy (kWh) report interval
This parameter defines the period of sending energy reports
Default value: 3600 seconds
Size: 4 byte
Possible values: 0: Disabled, 5-2678400 seconds
Parameter no 103 - Voltage (V) report interval
This parameter defines the period of sending voltage reports
Default value: 0 (Disabled)
Size: 4 byte
Possible values: 0: Disabled, 5-2678400 seconds
Parameter no 104 - Current (A) report interval
This parameter defines the period of sending current reports
Default value: 0 (Disabled)
Size: 4 byte
Possible values: 0: Disabled, 5-2678400 seconds

Regards
Marcus

GUI Enhancements needed for Plug-in Switch Mini (TZWP-102)

This is an enhancement request for advanced settings GUI on Plug-in Switch Mini (TSWP-102).
Titles for "Setting time" should be shortened so that parameter values are visible in screen.

IE
"Setting time for sending power report (watt)"
could be shortened as
"Power report (watt) interval (s)"

The 12 characters saved should leave plenty of space for showing the current value without going into the setting. Also adding (s) to clarify that it is a setting in seconds.

Also in the setting screen where values are edited it should be mentioned that these are settings in seconds.
IE
"The interval time for sending power report (watt)"
could be edited as
"The interval time in seconds for sending power report (watt)"

Also
"Enable/disable the configuration command"
could be edited as
"Enable/disable configuration command"

screenshot_20190222-094341_homey
screenshot_20190222-105332_homey

Problems w socket in flow

Dont know if it is app related but I cant use the device command Turn on Lights Any zone. I need to add each socket in the flow with 1 sec delay to get everything to work.

Telldus Plug-in Switch Mini (313510)

I have added 3 swithes and they work for a short while, then they stop responding. Even the physical button stops responding until I unplug/plug-in the switch.
Any known issues?
V 1.2.1 on Homey Pro 7.2.1

Icon missing in app for Plug-in Switch Mini (TZWP-102)

The icon is not visible for Plug-in Switch Mini (TSWP-102).
Not in pairing GUI and not in buttons once paired. See attached screenshots. I do not know how to fix it.

IReplaced icon.svg (com.telldus\drivers\TZWP-102\assets\icon.svg) with the icon.svg for Schuko plug (com.telldus\drivers\TZWP-100\assets\icon.svg) then that icon is visible but it is of course the wrong icon.

Tried editing/creating new icon in incscape and re-save it. Then again there is no icon visible.
Do the svg files need to be approved/signed by Athom or do you have to make them in specific editor?

Door / window sensor reporting wrong battery state of charge

Hi!

After moving to Homey Pro 2023 my two Telldus door/window sensors have started reporting wrong battery status. I have removed and added them again to make sure it wasn't the migration to Homey Pro 2023 that caused it. Even with brand new batteries they report battery depleted and maybe a few minutes later report that the battery is OK again. This didn't happen with Homey Pro 2019. Help with this issue would be great as I get several push notifications a week. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.