Code Monkey home page Code Monkey logo

iobroker.tuya's Introduction

Logo

ioBroker.tuya

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

ioBroker adapter to connect to several small and cheap Wifi devices that care connected to the Tuya Cloud and mostly use the Smartlife App/Alexa-Skill. The adapter supports reading real time status updates and controlling of those devices once synced with the respective mobile phone app.

Beside devices usable with the Smart Live App or Tuya App.

The adapter locally connects to all devices that are "always in wifi". Devices that only come online when there is an event, send their data and go offline again (mostly battery powered devices) are only supported using the Tuya IoT Platform MQTT connection (see below).

One adapter instance can locally discover and connect to all devices in a network that routes UDP packages! For Docker environments this requires additional actions and potentially Macvlan or similar!

Disclaimer

All product and company names or logos are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or any associated subsidiaries! This personal project is maintained in spare time and has no business goal. TUYA is a trademark of Tuya Global Inc.

Functionality: Local-only vs Cloud Supported Features

This adapter can, if wanted, mostly work without the Tuya Cloud.

If this is wanted a one time synchronization with the Tuya Cloud App Account is needed as soon as new devices are added. This can be done be entering the cloud credentials in the adapter config and clock the "synchronize one time" button. It is not needed to store the cloud credentials!

Note: When the App Sync is done it might be that the Tuya Mobile app informs about a login from an Android device into the Tuya Account. This is from the Adapter!

The adapter then will listen for local UDP messages to find the local IPs of the devices and establish a local connection. This is only possible when the Tuya App is NOT open on any device because most devices only allow one local connection.

If you decide to store your Tuya App Login Credentials (Smart Life App or Tuya Smart App) in the adapter configuration then the devices are updated with each adapter start automatically. Additionally the states of devices that are not connected locally can be polled and controlled via the Tuya Cloud.

To support real time updates of devices that are not connected locally, and also e.g. battery based devices, you can additionally register yourself an Account on the Tuya IoT Platform and Link your App Account and use a Cloud-MQTT connection. To register yourself an Account on the Tuya IoT Platform please follow the instructions on Tuya IoT Platform. Note: The IoT Platform Account is only active for some time and needs to be extended monthly afterwards!

If you use the Tuya IoT Platform and get the message in log like "Use app cloud polling because last MQTT update was 29 hours ago. Please check your Tuya IoT Cloud status that no service is expired." then this means that there were no MQTT messages in the last time and so most likely the iot Core Service has expired. Login to the Tuya IoT Platform and check the status of the iot Core Service. If it is expired then renew it (possible monthly directly or up to 6 months with a manual review process by Tuya staff. Direct Link: https://eu.iot.tuya.com/cloud/products?productType=all

With this featureset you can choose between all available options and work with or (beside the one time syncs) without the Tuya Cloud systems. You decide.

The "former" App-Proxy-Sync is still available in the Adapter Config but not recommended anymore. It is much easier to do the new One Time Cloud Sync.

If UDP discovery do not work

If the devices are not correctly detected via their UDP packages you can set the IP manually by setting the ip state of the device to the correct IP. The former alternative is to edit the device object. See #221 (comment)

Note for Battery powered devices

As already told above Battery powered devices are not supported by this adapter when using only local connections! The reason is that they are not online all the time to save power. Whenever they get a signal, they go online, send the update to the the Tuya cloud servers and go offline again. They do not emit any UDP packages or are online long enough so that the adapter could connect to them.

By using the Tuya App Cloud feature data can be polled, but this might be still not enough for door/window/presence detectors. They should work only with the Tuya IoT Platform MQTT connection.

Proxy-Sync (Fallback): Compatible Mobile Apps and versions

The currently versions of the Tuya Smart and also Smartlife App are no longer compatible with the way the adapter works because Tuya encrypted all traffic that the adapter could sniff. For now still some older versions of the Apps work ...

  • Smartlife App <3.14, best 3.12.6!!
  • Tuya Smart App <3.14, best 3.12.x
  • STL Smart Home App 1.1.1 (last dated Sept 2019)
  • Ucomen Home App (??)

Important Note for iOS Users: The Proxy approach described here is not working anymore. As soon as you have Smart Life App version 3.10 or higher the communication from App is no longer visible to the proxy. But it still works with all Android App versions, so the best approach is an Androis Emulator as roughly described at https://forum.iobroker.net/topic/23431/aufruf-tuya-adapter-tests-verschl%C3%BCsselte-ger%C3%A4te/19

To do this first of all you need to add a custom Root-Certificate on your mobile device. When you click "Start Proxy" in the adapter instance configuration the certificate is created for your system and shows a QR-Code to the download location. Ideally scan the QR Code with your mobile device and follow the process to add and trust this Root-Certificate. If the QR code location is not reachable (may happen when use Docker or such) then open the "Proxy Web Info Port" in your browser and click on "Root-CA" in the navigation and you can download the CA File too.

Now make sure to close/kill the respective Tuya smart app. After that add the Proxy-Port and the ioBroker host as "Manual" Proxy for your WLAN connection on your mobile phone.

Now open the respective Tuya Smart App and/or reload.

The Admin configuration will show a success message if the relevant data packet was received and will then turn the proxy off 10 seconds later. You can now remove the proxy from your phone and also untrust the certificate.

Directly after this the objects should be updated with more meaningful names and receive live updates from then on automatically and should be able to communicate.

The sync is only needed initially or after you added new devices to your App.

Some images for some mobile OS can be found at the Proxy-Page.

Devices that do not deliver up-to-date data

We discovered some devices - most likely devices with power/current states - that can have the effect that they only show up-to-date values when the mobile app is connected to them. When the app is closed they stay on the old values.

These devices currently only work via "polling interval" in most cases. They do not deliver up-to-date values by themself. You can try to work around that by using the iot platform from Tuya and enable the MQTT option.

Some of these devices also do not deliver up-to-date values when using polling. If you got such a device it could be that the device needs to be polled differently. This can be configured manually.Please do the following:

  • Stop the tuya instance
  • Use Admin on "Objects" tab and find the object with type "device" of the affected device. In this line in Admin Objects view click the pencil icon.
  • In the JSON view of the object you see a "native" section. Add a new json key inside this native section:
"native": {
    "useRefreshToGet": true,
    ...
}
  • Save the object and restart the adapter and check if the values are updated now.

Infrared Gateway features

There are different types of IR devices in the object tree

The IR Gateway/Sender Devices

This is the real device you have as Hardware. This device is used by sub devices defined in the mobile App (see below) and can be used to learn and send custom IR codes.

The "ir-learn" state in this device is a Trigger which can be used to learn IR codes. The learned code is then received in the "202" state as base64 encoded Data.

The "ir-send" state can be used to send a base64 encoded IR code to the device. This can be used to send the learned code from the "ir-learn" state.

This way to control only works on the "main IR device".

The IR Sub Devices

The IR sub devices have a lot of "ir-*" states wich are all buttons to trigger the respective Button/IR code. The ir states should match the layout of the buttons in the mobile App.

Some devices have combi-states like "M0_T20_S3" (found by a Daikin Air conditioner) which means Mode 0, Temperature 20 and (Fan)-Speed 3. In fact you need to choose the right button. Until now we did not found a generic/automated way to find out which button is which. The mobile App itself also tries to remember these settings, so as soon you trigger anything with the adapter (or the real ir controller of the device) the information from the App is outdated.

Scenes features

When the app cloud credentials are entered and stored then the adapter also reads out the scenes from the app and creates them as objects in the adapter. The scenes can be triggered by setting the scene state to true.

The triggering is then send to the cloud.

Groups features

The adapter also reads out defined groups and creates corresponding states in the adapter. The group value is also polled from cloud and updated in the adapter. When controlling groups this also is done via the cloud because else the group status will run out of sync.

Converted/Enhanced Datapoints

The data from some datapoints are encoded and so needs to be decrypted and re-encrypted if allowed to change.

Bitmap Fields

Some fields contain bitmaps, which means that they are a number and each bit in this number represents a state. The adapter converts these fields into substates like X-0 (for bit 0), X-1 (for bit 1) and so on. The label of the bit is set added to the name of the state. Currently, bitfields are not writable.

RGB Color states (IDs 24/5/colour/colour_data)

RGB Color datapoints are decoded into an object 5-rgb/24-rgb as RGB value in form "#rrggbb". The current color is decoded into that state and can also be set by setting that state. Make sure to use the correct mode of the lamp (white/color) because color is only relevant when the color mode is active.

Power measurement states (IDs 5/6/7/phase_a/phase_b/phase_c)

The power measurement states are decoded into an object X-current, X-power and X-voltage. X-power is only having a value for some devices. These states are not writable.

Device Alarm states(IDs 17/alarm_set_2)

The alarm states are decoded into a 17-decoded object with a json as value. The JSON contains an array with the list of defined alarm types and their thresholds. You can modify and set that JSON to change the alarm settings. The following alarm types are known (but maybe not all are supported by all devices):

  • overcurrent
  • three_phase_current_imbalance
  • ammeter_overvoltage
  • under_voltage
  • three_phase_current_loss
  • power_failure
  • magnetic
  • insufficient_balance
  • arrears
  • battery_overvoltage
  • cover_open
  • meter_cover_open
  • fault

Credits

The work of the adapter would not had been possible without the great work of @codetheweb, @kueblc and @NorthernMan54 (https://github.com/codetheweb/tuyapi) and https://github.com/clach04/python-tuya,https://github.com/uzlonewolf/tinytuya and many more.

How to report issues and feature requests

Please use GitHub issues for this.

Best is to set the adapter to Debug log mode (Instances -> Expert mode -> Column Log level). Then please get the logfile from disk (subdirectory "log" in ioBroker installation directory and not from Admin because Admin cuts the lines). If you do not like providing it in GitHub issue you can also send it to me via email ([email protected]). Please add a reference to the relevant GitHub issue AND also describe what I see in the log at which time.

When there are issues with the Tuya App Cloud synchronisation then additional logging can be generatedf by the following process:

  • Stop the adapter in Admin
  • Open a shell on the ioBroker host
  • execute DEBUG=@tuyapi/cloud* iobroker debug tuya
  • get the log from the command line Send the log with reference to the generated GitHub issue to [email protected]

Changelog

WORK IN PROGRESS

  • (Apollon77) Try to support phase_X information with 10 bytes
  • (Apollon77) More schema information added/updated

3.15.0 (2023-11-23)

  • (agraf) Add support to login with "Ledvance" App account
  • (Apollon77) Add support to login with "Sylvania" App account
  • (Apollon77) Fixed several smaller issues reported by Sentry
  • (Apollon77) More schema information added/updated

3.14.2 (2023-03-24)

  • (Apollon77) prevent state polling to hang when decide do not return new data
  • (Apollon77) More schema information added/updated

3.14.1 (2023-02-09)

  • (Apollon77) Also adjust min/max when using multipliers
  • (Apollon77) More schema information added/updated

3.14.0 (2023-01-28)

  • (Apollon77) Added special handling for needed multiplier for TempSet(2), TempCurrent(3) and floorTemp(102) objects
  • (Apollon77) More schema information added/updated

3.13.1 (2023-01-16)

  • (Apollon77) More schema information added/updated

3.13.0 (2023-01-10)

  • (Apollon77) Add generic support for gateways (and so also WLAN Gateways)
  • (Apollon77) More schema information added/updated

3.12.1 (2023-01-03)

  • (Apollon77) More schema information added/updated

3.12.0 (2022-12-29)

  • (Apollon77) Added decoding of phase_a/b/c and alarm_set_2
  • (Apollon77) Added fallback for cloud polling when no values were updated using MQTT connection
  • (Apollon77) Added decoding of bitmaps (read only for now)

3.11.4 (2022-12-28)

  • (Apollon77) A crash case reported by Sentry is prevented
  • (Apollon77) More schema information added/updated

3.11.3 (2022-12-22)

  • (Apollon77) A crash case reported by Sentry is prevented
  • (Apollon77) More schema information added/updated

3.11.2 (2022-12-20)

  • (Apollon77) More schema information added/updated
  • (Apollon77) A crash case reported by Sentry is prevented

3.11.1 (2022-12-15)

  • (Apollon77) More schema information added/updated
  • (Apollon77) Prevent crash case reported by Sentry

3.11.0 (2022-12-14)

  • (Apollon77) Added support to control Zigbee Devices via Hubs locally
  • (Apollon77) Prevent crash case when new unencrypted device is discovered
  • (Apollon77) More schema information added/updated

3.10.2 (2022-12-05)

  • (Apollon77) Optimize IR - now works locally and via cloud in all cases

3.10.1 (2022-12-05)

  • (Apollon77) Make info.ip writable to allow manual setting of IP address

3.10.0 (2022-12-05)

  • (Apollon77) Added support for groups
  • (Apollon77) Add support for a second type of IR blaster
  • (Apollon77) Added cloud session refresh while adapter is running
  • (Apollon77) Add custom handling for bright_value fields with missing scale factor (10..1000 will be now 1..100);
  • (Apollon77) Base64 encoded raw values are now decoded again when the decoded value is readable ascii
  • (Apollon77) Allow to flag devices manually that need "refresh instead of get" to get current data - use "useRefreshToGet: true" in device object native section
  • (Apollon77) More schema information added/updated

3.9.4 (2022-11-19)

  • (Apollon77) More schema information added/updated

3.9.3 (2022-11-17)

  • (Apollon77) Optimize Tuya protocol 3.4 discovery
  • (Apollon77) Prevent restart schedules that are too short when cloud is used
  • (Apollon77) Fix crash cases reported by Sentry
  • (Apollon77) More schema information added/updated

3.9.2 (2022-11-16)

  • (Apollon77) Optimize discovery and device connection checks
  • (Apollon77) IPs of unconnected devices can be set via the ip state now
  • (Apollon77) Fix crash cases reported by Sentry

3.9.1 (2022-11-14)

  • (Apollon77) Add support for local control of Tuya protocols 3.2 and 3.4
  • (TA2k/Apollon77) Add basic support for IR devices (Gateway and Sub Devices)
  • (Apollon77) Convert special colour/colour_data values to an additional rgb state
  • (Apollon77) Allow to define that devices do not connect locally (this prevents error logs, and they work via cloud if data are provided)
  • (Apollon77) Add support for more cloud MQTT notifications
  • (Apollon77) More schema information added/updated

3.8.1 (2022-11-06)

  • (TA2k/Apollon77) Add App-Cloud Sync deceasing the proxy
  • (Apollon77) Add support for device polling using App-Cloud for devices not connected
  • (Apollon77) Add support for realtime cloud state updates using Tuya IoT Platform MQTT connection
  • (Apollon77) Allow to update names of device objects when changed in App
  • (Apollon77) Use read Schema details from Sync instead the already contained ones
  • (Apollon77) React to device infos from MQTT connection and update/add device objects
  • (Apollon77) When Datapoints (e.g sockets) have custom names, also use them as State Names
  • (Apollon77) More schema information added

3.7.2 (2022-10-23)

  • (Apollon77) Prevent warnings for invalid min/max values

3.7.0 (2022-10-22)

  • (Apollon77) Optimizations for Proxy mode to prevent certificate issues
  • (Apollon77) Allow to also "click" on the certificate to download the certificate file
  • (Apollon77) Adjust min/max values if a scale is defined
  • (Apollon77) More schema information added

3.6.15 (2022-01-24)

  • (Apollon77) More schema information added
  • (Apollon77) Recreate Proxy SSL certificates once older than 3 months to prevent ssl errors

3.6.14 (2021-11-07)

  • (Apollon77) More schema information added

3.6.13 (2021-10-28)

  • (Apollon77) More schema information added

3.6.11 (2021-09-05)

  • (Apollon77) More schema information added

3.6.9 (2021-07-18)

  • (Apollon77) Adjust reconnect handling on initialization

3.6.8 (2021-07-18)

  • (Apollon77) Another fix on reconnect handling

3.6.7 (2021-07-18)

  • (Apollon77) Another fix on reconnect handling

3.6.6 (2021-07-17)

  • (Apollon77) Fix reconnect handling
  • (Apollon77) More schema information added

3.6.5 (2021-06-23)

  • (Apollon77) Make sure for enums values are set with correct type
  • (Apollon77) More schema information added

3.6.3 (2021-06-04)

  • (Apollon77) More schema information added
  • (Apollon77) Update tuyapi

3.6.2 (2021-05-10)

  • (Apollon77) type "bitmap" is a number
  • (Apollon77) More schema information added

3.6.1 (2021-04-11)

  • (Apollon77) More schema information added

3.6.0 (2021-04-02)

  • (Apollon77) Fix broken data updates because of tuyaapi change
  • (Apollon77) Optimize "json unvalid" cases by refreshing data manually differently
  • (Apollon77) More schema information added

3.5.9 (2021-03-28)

  • (Apollon77) More schema information added

3.5.8 (2021-03-24)

  • (Apollon77) More schema information added

3.5.7 (2021-03-18)

  • (Apollon77) Fix crash case (Sentry IOBROKER-TUYA-P9)
  • (Apollon77) More schema information added

3.5.6 (2021-02-09)

  • (Apollon77) More schema information added

3.5.4 (2021-01-30)

  • (Apollon77) Prevent crash cases (Sentry IOBROKER-TUYA-MG)
  • (Apollon77) More schema information added

3.5.3 (2021-01-13)

  • (Apollon77) More schema information added

3.5.2 (2020-12-24)

  • (Apollon77) More schema information added

3.5.0 (2020-12-10)

  • (Apollon77) More schema information added
  • (Apollon77) Try to decode "raw" values via base64

3.4.3 (2020-11-29)

  • (Apollon77) More schema information added

3.4.2 (2020-11-19)

  • (Apollon77) More schema information added

3.4.1 (2020-11-05)

  • (Apollon77) More schema information added
  • (Apollon77) fix IP lookup via UDP

3.4.0 (2020-10-29)

  • (Apollon77) update tuya-api library

3.3.15 (2020-10-29)

  • (Apollon77) More schema information added

3.3.14 (2020-09-15)

  • (Apollon77) More schema information added

3.3.12 (2020-08-26)

  • (Apollon77) More schema information added
  • (Apollon77) Crash case prevented (Sentry IOBROKER-TUYA-89)

3.3.11 (2020-08-18)

  • (Apollon77) More schema information added

3.3.10 (2020-08-02)

  • (Apollon77) More schema information added

3.3.9 (2020-07-16)

  • (Apollon77) More schema information added

3.3.8 (2020-07-09)

  • (Apollon77) Work around invalid data that are returned by some devices
  • (Apollon77) More schema information added

3.3.7 (2020-07-01)

  • (Apollon77) More schema information added

3.3.6 (2020-06-29)

  • (Apollon77) More schema information added

3.3.5 (2020-06-11)

  • (Apollon77) More schema information added
  • (Apollon77) Optimizations and fixes

3.3.2 (2020-03-19)

  • (Apollon77) Many new schemas added

3.2.3 (2020-03-08)

  • (Apollon77) Many new schemas added

3.2.2 (2020-02-08)

  • (Apollon77) New schemas added
  • (Apollon77) Better handle strange case where qrcode library is not existing

3.2.0 (2020-02-05)

  • (Apollon77) Many new schemas added
  • (Apollon77) Add Infos about compatible App versions with link to enhanced docs
  • (Apollon77) try to detect unsupported apps when trying to sync and write warning in logfile
  • (Apollon77) Switch Sentry to iobroker own instance hosted in germany

3.1.16 (2019-12-26)

  • (Apollon77) New schemas added
  • (Apollon77) prevent crash when proxy request had no hosts array

3.1.15 (2019-12-24)

  • (Apollon77) New schemas added
  • (Apollon77) prevent usage of invalid Port numbers

3.1.14 (2019-12-20)

  • (Apollon77) New schemas added
  • (Apollon77) prevent usage of invalid Port numbers

3.1.13 (2019-12-11)

  • (Apollon77) New schemas added

3.1.12 (2019-12-07)

  • (Apollon77) New schemas added
  • (Apollon77) Dependency update

3.1.11 (2019-12-06)

  • (Apollon77) New schemas added
  • (Apollon77) Dependency update

3.1.10 (2019-12-05)

  • (Apollon77) New schemas added

3.1.9 (2019-11-30)

  • (Apollon77) New schemas added
  • (Apollon77) Improve error handling for proxy web port

3.1.8 (2019-11-28)

  • (Apollon77) New schemas added
  • (Apollon77) Add check for invalid proxy port

3.1.7 (2019-11-26)

  • (Apollon77) New schemas added

3.1.6 (2019-11-25)

  • (Apollon77) New schemas added
  • (Apollon77) Optimize Sentry integration and dedupe errors

3.1.4 (2019-11-24)

  • (Apollon77) New schemas added

3.1.3 (2019-11-24)

  • (Apollon77) try to get rid of SSL errors with new proxies
  • (Apollon77) Many new schemas added
  • (Apollon77) Sentry added for error/exception/schema reporting
  • (Apollon77) Compact Mode added

3.0.0 (2019-09-03)

  • (Apollon77) Switch from AnyProxy to mitm ... hopefully get SSL-Proxy working again. Important: The Proxy is called "NodeMITMProxyCA"!

2.0.4 (2019-08-01)

  • (Apollon77) New schemas added
  • (Apollon77) removed a check so that also devices that use other message formats can be read

2.0.3 (2019-07-11)

  • (Apollon77) New schemas added
  • (Apollon77) removed a check so that also devices that use other message formats can be read

2.0.2 (2019-06-27)

  • (Apollon77) New schemas added
  • (Apollon77) Update all Dependencies
  • (Apollon77) Nodejs 6.x no longer supported!
  • (Apollon77) Support encrypted devices

1.0.8 (2019-03-08) [Unreleased]

  • (Apollon77) New schemas added

1.0.7 (2018-11-23)

  • (Apollon77) New schemas added, fixed one error

1.0.5 (2018-11-18)

  • (Apollon77) preserve device name too, New schemas

1.0.4 (2018-11-16)

  • (Apollon77) New schemas added

1.0.3

  • (Apollon77) New schemas added

1.0.2

  • (Apollon77) New schemas added
  • (Apollon77) Data are requested from the device after controlling because sometimes not all data seems to be updated automatically

1.0.1

  • (Apollon77) Automatically convert some value types like booleans better

1.0.0

  • (Apollon77) Add several new schema definitions
  • (Apollon77) Optimizations and bug fixes

0.1.3

  • (Apollon77) Add several new schema definitions
  • (Apollon77) Try to preserve names of objects. Sync with App via proxy will overwrite in any case!
  • (Apollon77) Optimizations and bug fixes

0.1.2

  • (BuZZy1337) Optimized Admin, thank you very much!

0.1.0/1

  • (Apollon77) development and first tests

License

The MIT License (MIT)

Copyright (c) 2018-2023 Apollon77 [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.tuya's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iobroker.tuya's Issues

Proxy funktioniert nicht

Ich habe das Problem, dass sowohl auf meinem iPhone und Android Handy ich es nicht hinbekomme, die Tuya Codes auszulesen.
Immer wenn ich den Proxy und alles eingerichtet habe und in die App gehe, sagt die App, dass sie keine Verbindung aufbauen kann und dann lädt nicht einmal die Geräte Liste auf dem iPhone.
Und habe alles auf meinem Raspberry Pi 3 installiert.

new Shema added for product type gGUj6WJeZHA1QBDU

Hi, wenn ich richtig verstanden habe, wird der Roboter erst steuerbar wenn du den integriert hast?
Danke!

2018-12-26 22:41:02.574 - info: tuya.0 new Shema added for product type gGUj6WJeZHA1QBDU. Please send next line from logfile on disk to developer!

2018-12-26 22:41:02.575 - info: tuya.0 {"schema":"[{"mode":"rw","code":"Power","name":"开关","property":{"type":"bool"},"id":1,"type":"obj","desc":"开关机控制。\n下发: 发送控制指令给主机,主机依据指令状态进行开关机操作。\n上报:\n当主机使用遥控器关机或者长时间静止进入关机状态后,主机会上报一个关机数据。\n当主机处于关机状态时,通过遥控器或者触摸主机的按键,主机会进入开机状态,主机会上报一个开机数据。"},{"mode":"ro","code":"Error","scope":"fault","name":"故障","property":{"label":["1","2","3","4","5","6","7","8"],"type":"bitmap","maxlen":8},"id":11,"type":"obj","desc":"0 正常;1左边扫异常 ;2右边扫异常 ;3中扫异常 ;4左轮异常;5右轮异常;6风机异常,7 跌落异常 8 主机抬起\n当主机上报后,显示错误代码,当上报0后,清楚显示。"},{"mode":"ro","code":"battery","name":"剩余电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"id":14,"type":"obj","desc":"机器定时上报电量百分比, 0% - 100%"},{"mode":"rw","code":"open","name":"开启/暂停按钮","property":{"type":"bool"},"id":25,"type":"obj","desc":""},{"mode":"rw","code":"direction","name":"方向","property":{"range":["1","2","3","4","5"],"type":"enum"},"id":26,"type":"obj","desc":"向前/后/左/右/停"},{"mode":"rw","code":"mode","name":"工作模式","property":{"range":["0","1","2","3","4","5"],"type":"enum"},"id":27,"type":"obj","desc":"0: 停止 / 1:自动打扫/2:定点清扫/3:单间打扫/4:沿边打扫/5:自动回充"},{"mode":"rw","code":"fullgo","name":"充满清扫","property":{"type":"bool"},"id":28,"type":"obj","desc":""}]","schemaExt":"[]"}

An in-range update of qrcode is breaking the build 🚨

The dependency qrcode was updated from 1.4.0 to 1.4.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

qrcode is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/appveyor/branch: Waiting for AppVeyor build to complete (Details).
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Driver not work for me?

I try to install driver and after add device i see:


tuya.0 | 2019-05-16 20:19:23.663 | info | Discover for local Tuya devices on port 6666
-- | -- | -- | --
tuya.0 | 2019-05-16 20:19:23.663 | info | Existing devices initialized
tuya.0 | 2019-05-16 20:19:23.662 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:19:23.409 | info | starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.16.0
tuya.0 | 2019-05-16 20:18:20.349 | info | Anyproxy ready to receive requests
tuya.0 | 2019-05-16 20:17:39.286 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:17:34.992 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:17:34.762 | info | {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power3\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\"
tuya.0 | 2019-05-16 20:17:34.762 | info | new Shema added for product type EYfNTuTPZln9e4cn. Please send next line from logfile on disk to developer!
tuya.0 | 2019-05-16 20:15:57.436 | info | Anyproxy ready to receive requests
tuya.0 | 2019-05-16 20:12:56.781 | info | Discover for local Tuya devices on port 6666
tuya.0 | 2019-05-16 20:12:56.760 | info | Existing devices initialized
tuya.0 | 2019-05-16 20:12:56.759 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:12:56.424 | info | starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.16.0
tuya.0 | 2019-05-16 20:12:56.099 | error | no connection to objects DB
tuya.0 | 2019-05-16 20:12:27.865 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:12:25.616 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:12:25.422 | info | {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power3\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\"
tuya.0 | 2019-05-16 20:12:25.422 | info | new Shema added for product type EYfNTuTPZln9e4cn. Please send next line from logfile on disk to developer!
tuya.0 | 2019-05-16 20:12:13.114 | info | Anyproxy ready to receive requests
tuya.0 | 2019-05-16 20:12:00.417 | info | Discover for local Tuya devices on port 6666
tuya.0 | 2019-05-16 20:12:00.395 | info | Existing devices initialized
tuya.0 | 2019-05-16 20:12:00.393 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:11:59.883 | info | starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.16.0
tuya.0 | 2019-05-16 20:11:59.516 | error | no connection to objects DB
tuya.0 | 2019-05-16 20:11:48.957 | info | Anyproxy ready to receive requests
tuya.0 | 2019-05-16 20:10:17.054 | info | Discover for local Tuya devices on port 6666
tuya.0 | 2019-05-16 20:10:17.036 | info | Existing devices initialized
tuya.0 | 2019-05-16 20:10:17.033 | info | 10343760ecfabc342a01: Can not start because IP unknown
tuya.0 | 2019-05-16 20:10:16.730 | info | starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.16.0

Скриншот 16-05-2019 202022
What i do wrong?

Status never updated

I added a tuya device schema to my iobroker setup in mapper.js, but the device dont send its devId in the UDP broadcast message and never update object status with the 'Received data for other deviceId...' message. If I comment out the condition it works well, but i dont know what happened if i have more than 1 tuya device.
I only got 'json obj data unvalid' on the polling request from the tuya instance, or something like this '{ dps: { '14': 75 }, t: 1562671026 }' (dps 14 is the battery value on this device)

Error from device: App still open on your mobile phone?

this error has started to appear, the driver cannot connect to the device. What can be done in this case? App on phone is closed
log:

 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468952306,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 Discovered device: 192.168.1.10:49154 -   U�           �    {"ip":"192.168.1.10","gwId":"30_CUT_e6","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"IAY_CUT_LmL","version":"3.1"}@V��  �U
 tuya.0 30_CUT_e6: Schema found for IAY_CUT_LmL: [object Object]
 tuya.0 30_CUT_e6: Create device objects if not exist
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468954255,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 stateChange tuya.0.30_CUT_e6.ip {"val":"192.168.1.10","ack":true,"ts":1554468954257,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":155_CUT_23}
tuya.0 30_CUT_e6 Init with IP=192.168.1.10, Key=09-361
 tuya.0 30_CUT_e6: Error from device (0): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468955308,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 Discovered device: 192.168.1.10:49154 -   U�           �    {"ip":"192.168.1.10","gwId":"30_CUT_e6","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"IAY_CUT_LmL","version":"3.1"}@V��  �U
 tuya.0 30_CUT_e6: Error from device (1): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468957312,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 30_CUT_e6: Error from device (2): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468959411,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 Discovered device: 192.168.1.10:49154 -   U�           �    {"ip":"192.168.1.10","gwId":"30_CUT_e6","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"IAY_CUT_LmL","version":"3.1"}@V��  �U
 tuya.0 30_CUT_e6: Error from device (3): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468961318,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 Discovered device: 192.168.1.10:49154 -   U�           �    {"ip":"192.168.1.10","gwId":"30_CUT_e6","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"IAY_CUT_LmL","version":"3.1"}@V��  �U
 tuya.0 30_CUT_e6: Schema found for IAY_CUT_LmL: [object Object]
 tuya.0 30_CUT_e6: Create device objects if not exist
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468963255,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 stateChange tuya.0.30_CUT_e6.ip {"val":"192.168.1.10","ack":true,"ts":1554468963257,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":155_CUT_23}
tuya.0 30_CUT_e6 Init with IP=192.168.1.10, Key=09-61
 tuya.0 30_CUT_e6: Error from device (0): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468964305,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 Discovered device: 192.168.1.10:49154 -   U�           �    {"ip":"192.168.1.10","gwId":"30_CUT_e6","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"IAY_CUT_LmL","version":"3.1"}@V��  �U
 tuya.0 30_CUT_e6: Error from device (1): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468966309,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 30_CUT_e6: Error from device (2): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468968413,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 Discovered device: 192.168.1.10:49154 -   U�           �    {"ip":"192.168.1.10","gwId":"30_CUT_e6","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"IAY_CUT_LmL","version":"3.1"}@V��  �U
 tuya.0 30_CUT_e6: Error from device (3): App still open on your mobile phone? Error: Error from socket
 tuya.0 30_CUT_e6: Disconnected from device
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468970312,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 Discovered device: 192.168.1.10:49154 -   U�           �    {"ip":"192.168.1.10","gwId":"30_CUT_e6","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"IAY_CUT_LmL","version":"3.1"}@V��  �U
 tuya.0 30_CUT_e6: Schema found for IAY_CUT_LmL: [object Object]
 tuya.0 30_CUT_e6: Create device objects if not exist
 tuya.0 stateChange tuya.0.30_CUT_e6.online {"val":false,"ack":true,"ts":1554468972255,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":15_CUT_9}
 tuya.0 stateChange tuya.0.30_CUT_e6.ip {"val":"192.168.1.10","ack":true,"ts":1554468972256,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":155_CUT_23}
tuya.0 30_CUT_e6 Init with IP=192.168.1.10, Key=09-61

first issue :-) - Error from device Error: Error from socket

warum immer ich.. ?
Habe 2 devices, einen LED-Stripe Controller von Pearl und einen Diffusor, die über die Oittm Smart App gesteuert werden. Konnte über den Alexaskill bisher steuern, aber so ist es in iobroker sogar noch besser als im Skill, der kann beim Diffusor nämlich nur on/off, jetzt kann ich mit Duft/Farbe etc durch iobroker steuern.. Danke!!
Zur Info der Auszug aus iobroker/log/ nach dem installieren:
2018-10-29 13:19:20.624 - info: tuya.0 0020097260019455f173: Error from device Error: Error from socket 2018-10-29 13:19:21.018 - info: host.iobroker object change system.adapter.tuya.0 2018-10-29 13:19:21.018 - info: host.iobroker "system.adapter.tuya.0" disabled 2018-10-29 13:19:21.018 - info: host.iobroker stopInstance system.adapter.tuya.0 2018-10-29 13:19:21.018 - info: host.iobroker stopInstance system.adapter.tuya.0 killing pid 5493 2018-10-29 13:19:21.028 - info: paw.0 objectChange system.adapter.tuya.0 {"_id":"system.adapter.tuya.0","type":"instance","common":{"name":"tuya","version":"0.1.0","news":{"0.1.0":{"en":"Initiale Tuya Adapter Version","de":"Initiale Tuya Adapter Version","ru":"Версия Initiale Tuya Adapter","pt":"Versão do Adaptador Initiale Tuya","nl":"Initiale Tuya-adapterversie","fr":"Initiale Tuya Adapter Version","it":"Versione dell'adattatore Initiale Tuya","es":"Initiale Tuya Adapter Version","pl":"Initiale Tuya Adapter Version"}},"title":"Tuya","titleLang":{"en":"Tuya","de":"Tuya","ru":"Tuya","pt":"Tuya","nl":"Tuya","fr":"Tuya","it":"Tuya","es":"Tuya","pl":"Tuya"},"desc":{"en":"Tuya Adapter","de":"Tuya Adapter","ru":"Tuya адаптер","pt":"Adaptador Tuya","nl":"Tuya-adapter","fr":"Adaptateur Tuya","it":"Adattatore Tuya","es":"Adaptador Tuya","pl":"Adapter Tuya"},"license":"MIT","authors":["Apollon77 <[email protected]>"],"platform":"Javascript/Node.js","mode":"daemon","icon":"tuya.png","messagebox":true,"subscribe":"messagebox","materialize":true,"enabled":false,"extIcon":"https://raw.githubusercontent.com/Apollon77/ioBroker.tuya/master/admin/tuya.png","keywords":["Tuya","switch","smarthome","iobroker"],"readme":"https://github.com/Apollon77/ioBroker.tuya/blob/master/README.md","loglevel":"info","type":"iot-systems","restartAdapters":[],"installedVersion":"0.1.0","host":"iobroker"},"native":{"pollingInterval":"60","proxyPort":"8890","proxyWebPort":"8891"},"from":"system.adapter.admin.0","ts":1540815561016,"acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} 2018-10-29 13:19:21.246 - info: tuya.0 012002512c3ae844f84b: Error from device Error: Error from socket 2018-10-29 13:19:21.540 - info: host.iobroker instance system.adapter.tuya.0 terminated with code 0 (OK) 2018-10-29 13:22:15.872 - info: host.iobroker object change system.adapter.tuya.0 2018-10-29 13:22:15.881 - info: host.iobroker instance system.adapter.tuya.0 started with pid 5553 2018-10-29 13:22:15.890 - info: paw.0 objectChange system.adapter.tuya.0 {"_id":"system.adapter.tuya.0","type":"instance","common":{"name":"tuya","version":"0.1.0","news":{"0.1.0":{"en":"Initiale Tuya Adapter Version","de":"Initiale Tuya Adapter Version","ru":"Версия Initiale Tuya Adapter","pt":"Versão do Adaptador Initiale Tuya","nl":"Initiale Tuya-adapterversie","fr":"Initiale Tuya Adapter Version","it":"Versione dell'adattatore Initiale Tuya","es":"Initiale Tuya Adapter Version","pl":"Initiale Tuya Adapter Version"}},"title":"Tuya","titleLang":{"en":"Tuya","de":"Tuya","ru":"Tuya","pt":"Tuya","nl":"Tuya","fr":"Tuya","it":"Tuya","es":"Tuya","pl":"Tuya"},"desc":{"en":"Tuya Adapter","de":"Tuya Adapter","ru":"Tuya адаптер","pt":"Adaptador Tuya","nl":"Tuya-adapter","fr":"Adaptateur Tuya","it":"Adattatore Tuya","es":"Adaptador Tuya","pl":"Adapter Tuya"},"license":"MIT","authors":["Apollon77 <[email protected]>"],"platform":"Javascript/Node.js","mode":"daemon","icon":"tuya.png","messagebox":true,"subscribe":"messagebox","materialize":true,"enabled":true,"extIcon":"https://raw.githubusercontent.com/Apollon77/ioBroker.tuya/master/admin/tuya.png","keywords":["Tuya","switch","smarthome","iobroker"],"readme":"https://github.com/Apollon77/ioBroker.tuya/blob/master/README.md","loglevel":"info","type":"iot-systems","restartAdapters":[],"installedVersion":"0.1.0","host":"iobroker"},"native":{"pollingInterval":"60","proxyPort":"8890","proxyWebPort":"8891"},"from":"system.adapter.admin.0","ts":1540815735870,"acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} 2018-10-29 13:22:17.005 - info: tuya.0 starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.12.0 2018-10-29 13:22:17.136 - info: tuya.0 012002512c3ae844f84b Init with IP=192.168.178.180, Key=fa40afabd793ba3b 2018-10-29 13:22:17.143 - info: tuya.0 0020097260019455f173 Init with IP=192.168.178.114, Key=292937b7be903f69 2018-10-29 13:22:17.144 - info: tuya.0 Existing devices initialized 2018-10-29 13:22:17.149 - info: tuya.0 Discover for local Tuya devices on port 6666

leider kommt jetzt dauernd:
2018-10-29 13:19:17.143 - info: tuya.0 012002512c3ae844f84b: Error from device Error: Error from socket

Das müllt mir das logfile ziemlich voll, hab den Adapter deaktiviert.

Die Datenpunkte sehen so aus, auffällig ist beim Diffusor die RGB Farbwerte in chinesisch :-)

bildschirmfoto vom 2018-10-29 13-33-27

Invalid Greenkeeper configuration file

We have detected a problem with your Greenkeeper config file 🚨

Greenkeeper currently can’t work with your greenkeeper.json config file because it is invalid. We found the following issue:

  1. The package path io-package.json in the group default is invalid. It must be a relative path to a package.json file. The path may not start with a slash, and it must end in package.json. Allowed characters for a path are alphanumeric, underscores, dashes, periods and the @ symbol (a-zA-Z_-.@).

Please correct this and commit the fix to your default branch (usually master). Greenkeeper will pick up your changes and try again. If in doubt, please consult the config documentation.

Here’s an example of a valid greenkeeper.json:

{
  groups: {
    frontend: {
      packages: [
        'webapp/package.json',
        'cms/package.json',
        'analytics/package.json'
      ]
    },
    build: {
      packages: [
        'package.json'
      ]
    }
  },
  ignore: [
    'standard',
    'eslint'
  ]
}

This files tells Greenkeeper to handle all dependency updates in two groups. All files in the frontend group will receive updates together, in one issue or PR, and the root-level package.json in the build group will be treated separately. In addition, Greenkeeper will never send updates for the standard and eslint packages.

🤖 🌴

Utorch UT40

Hello,

I own this product: https://www.gearbest.com/smart-ceiling-lights/pp_009748680892.html?wid=1433363

It seems that it's not supported, yet ;)
When I want to change values, it fails and the font turns red
image

this is what I get in the log


tuya.0 | 2019-02-05 22:05:13.321 | info | {"schema":"[{\"mode\":\"rw\",\"code\":\"led_switch\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\
-- | -- | -- | --
tuya.0 | 2019-02-05 22:05:13.318 | info | new Shema added for product type laI556gLUEUkFd7T. Please send next line from logfile on disk to developer!

An in-range update of anyproxy is breaking the build 🚨

The dependency anyproxy was updated from 4.0.13 to 4.0.14.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

anyproxy is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 3 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Erste Inbetriebnahme und Neues Gerät

Nach der Installation hat sich bei mir das Pop Up Fenster mit dem Qr Code nicht geöffnet, das lag daran das mein Raspberry zu wenig Ram übrig hatte, nachdem ich für die Syncronisation ein paar Adapter abgeschaltet habe (500Mb freier Ram) hat dann alles funktioniert (auf Youtube gibt es eine super Anleitung).

Jetzt habe ich die App Syncronisiert nur habe ich jetzt im Log eine Meldung über ein neues Gerät bekommen das ich an den Entwickler weiterleiten soll.

1
2
3

"Network error" when trying to sync via proxy

I synced my devices a week ago without problems.

Today I added another switch and wanted to re-sync - same procedure as before - pressed the "Start proxy" button, connected to WiFi and manual proxy with my hosts IP and port 8888.
Switching sockets works fine in Tuya app, but after a few seconds I get an error "network connection error" in the Tuya app.

Any idea?

An in-range update of mocha is breaking the build 🚨

The devDependency mocha was updated from 6.0.2 to 6.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v6.1.0

6.1.0 / 2019-04-07

🔒 Security Fixes

  • #3845: Update dependency "js-yaml" to v3.13.0 per npm security advisory (@plroebuck)

🎉 Enhancements

  • #3766: Make reporter constructor support optional options parameter (@plroebuck)
  • #3760: Add support for config files with .jsonc extension (@sstephant)

📠 Deprecations

These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:

🐛 Fixes

  • #3829: Use cwd-relative pathname to load config file (@plroebuck)
  • #3745: Fix async calls of this.skip() in "before each" hooks (@juergba)
  • #3669: Enable --allow-uncaught for uncaught exceptions thrown inside hooks (@givanse)

and some regressions:

📖 Documentation

🔩 Other

  • #3830: Replace dependency "findup-sync" with "find-up" for faster startup (@cspotcode)
  • #3799: Update devDependencies to fix many npm vulnerabilities (@XhmikosR)
Commits

The new version differs by 28 commits.

  • f4fc95a Release v6.1.0
  • bd29dbd update CHANGELOG for v6.1.0 [ci skip]
  • aaf2b72 Use cwd-relative pathname to load config file (#3829)
  • b079d24 upgrade deps as per npm audit fix; closes #3854
  • e87c689 Deprecate this.skip() for "after all" hooks (#3719)
  • 81cfa90 Copy Suite property "root" when cloning; closes #3847 (#3848)
  • 8aa2fc4 Fix issue 3714, hide pound icon showing on hover header on docs page (#3850)
  • 586bf78 Update JS-YAML to address security issue (#3845)
  • d1024a3 Update doc examples "tests.html" (#3811)
  • 1d570e0 Delete "/docs/example/chai.js"
  • ade8b90 runner.js: "self.test" undefined in Browser (#3835)
  • 0098147 Replace findup-sync with find-up for faster startup (#3830)
  • d5ba121 Remove "package" flag from sample config file because it can only be passes as CLI arg (#3793)
  • a3089ad update package-lock
  • 75430ec Upgrade yargs-parser dependency to avoid loading 2 copies of yargs

There are 28 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

New shema for YWK0ZiumXZGkb8nj roller shutter wall switch

I bought a roller shutter wall swich from aliexpress. I tried to integrade it in io.broker. But it seems that that sheme is missing. I can't control the switch.
Here are the lines from the log file:
info: tuya.0 new Shema added for product type YWK0ZiumXZGkb8nj. Please send next line from logfile on disk to developer!

2019-04-21 17:36:31.772 - info: tuya.0 {"schema":"[{"mode":"rw","code":"status","name":"窗帘状态","property":{"range":["0","1","2","3"],"type":"enum"},"id":1,"type":"obj","desc":"开 关 暂停"}]","schemaExt":"[]"}

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Apollon77/ioBroker.tuya

  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json
  • [E140] width and height of logo are not equal
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2018-2021 Ingo Fischer [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2018-2021 Ingo Fischer [email protected]" at the start of LICENSE

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Zählweise der Attribute unterschlägt die 3

Bin mir nicht sicher ob es ein issue oder ein Feature ist ;)
Unterhalb der der Objekte (WaMa, Trockner, etc.) werden die einzelnen Attribute numerisch dargestellt.
1,2,4,5,6
Es fehlt die 3.
tuya

Fehlenden Schema

Wenn ich die INfos auf der HDD finde, adde ich die hier noch.
Forerst leider erst die Infos aus dem LOG:

tuya.0 2019-01-11 19:58:35.565 info {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_1\",\"name\":\"开关1\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\" tuya.0 2019-01-11 19:58:35.565 info new Shema added for product type VV8ZfLV6G2jY56Lx. Please send next line from logfile on disk to developer! tuya.0 2019-01-11 19:58:35.564 info {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\" tuya.0 2019-01-11 19:58:35.563 info new Shema added for product type lFJaFOExN8tbpDDC. Please send next line from logfile on disk to developer!

Und das erste Schema:
{"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":

Danke für Deine Mühe!!!

New Shema for W7KCgml5Qn2x5T9v

tuya.0 2019-01-07 17:34:53.672 info {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code\
tuya.0 2019-01-07 17:34:53.671 info new Shema added for product type W7KCgml5Qn2x5T9v. Please send next line from logfile on disk to developer!

-> Luminea Home Control LAV-100.rgbw

new Shema for product type kcwceojngesde5xp (blitzwolf SHP5)

`

2019-06-04 21:27:05.646 - info: tuya.0 new Shema added for product type kcwceojngesde5xp. Please send next line from logfile on disk to developer!

2019-06-04 21:27:05.647 - info: tuya.0 {"schema":"[{"mode":"rw","code":"switch_1","name":"开关1","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code":"switch_usb1","name":"USB开关1","property":{"type":"bool"},"iconname":"icon-dp_power2","id":7,"type":"obj","desc":""},{"mode":"rw","code":"countdown_1","name":"开关1倒计时","property":{"unit":"s","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time2","id":9,"type":"obj","desc":""},{"mode":"rw","code":"countdown_usb1","name":"USB1倒计时","property":{"unit":"s","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time2","id":15,"type":"obj","desc":""},{"mode":"rw","code":"add_ele","name":"增加电量","property":{"unit":"","min":0,"max":50000,"scale":3,"step":100,"type":"value"},"iconname":"icon-battery","id":17,"type":"obj","desc":""},{"mode":"ro","code":"cur_current","name":"当前电流","property":{"unit":"mA","min":0,"max":30000,"scale":0,"step":1,"type":"value"},"iconname":"icon-Ele","id":18,"type":"obj","desc":""},{"mode":"ro","code":"cur_power","name":"当前功率","property":{"unit":"W","min":0,"max":50000,"scale":1,"step":1,"type":"value"},"iconname":"icon-dp_tool","id":19,"type":"obj","desc":""},{"mode":"ro","code":"cur_voltage","name":"当前电压","property":{"unit":"V","min":0,"max":5000,"scale":1,"step":1,"type":"value"},"iconname":"icon-a_function_turbo","id":20,"type":"obj","desc":""},{"mode":"ro","code":"test_bit","name":"产测结果位","property":{"unit":"","min":0,"max":5,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_direction","id":21,"type":"obj","desc":""},{"mode":"ro","code":"voltage_coe","name":"电压校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":22,"type":"obj","desc":""},{"mode":"ro","code":"electric_coe","name":"电流校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":23,"type":"obj","desc":""},{"mode":"ro","code":"power_coe","name":"功率校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":24,"type":"obj","desc":""},{"mode":"ro","code":"electricity_coe","name":"电量校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":25,"type":"obj","desc":""},{"mode":"ro","code":"fault","scope":"fault","name":"故障告警","property":{"label":["ov_cr"],"type":"bitmap","maxlen":1},"id":26,"type":"obj","desc":"ov_cr:过流保护"}]","schemaExt":"[{"id":1,"inputType":" "},{"id":7,"inputType":"plain"},{"id":9,"inputType":" "},{"id":15,"inputType":" "},{"id":17,"inputType":" "}]"}
2019-06-04 21:27:07.669 - info: tuya.0 07724620c44f3391b317: Can not start because IP unknown

`

An in-range update of @iobroker/testing is breaking the build 🚨

The devDependency @iobroker/testing was updated from 1.1.4 to 1.1.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@iobroker/testing is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 2 commits.

  • 289e8ab Release v1.1.5
  • 6d5251b Add the option to configure the startup unit-test timeout

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Please add support for Better Life Infrared Heater (pmxdTX2JLrSuJM39)

{"schema":"[{"mode":"rw","code":"Power","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code":"TempSet","name":"目标温度","property":{"unit":"℃","min":15,"max":30,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_temp","id":2,"type":"obj","desc":""},{"mode":"rw","code":"Mode","name":"模式","property":{"range":["0","1","2"],"type":"enum"},"iconname":"icon-dp_mode","id":4,"type":"obj","desc":"低档\\高档、ECO、"},{"mode":"rw","code":"ChildLock","name":"童锁","property":{"type":"bool"},"iconname":"icon-dp_lock","id":6,"type":"obj","desc":""},{"mode":"ro","code":"Countdown","name":"倒计时剩余时间","property":{"unit":"H","min":0,"max":12,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time","id":11,"type":"obj","desc":""},{"mode":"rw","code":"TimeSet","name":"定时功能","property":{"unit":"H","min":0,"max":12,"scale":0,"step":1,"type":"value"},"id":101,"type":"obj","desc":""}]","schemaExt":"[]"}

Neue Tuya Schemen

Hallo,
anbei zwei neue Schemen von mir. Vielleicht zu gebrauchen und meine Teckin Birnen könnten danach geschaltet werden :-)

VG
Martin

2019-06-19 20:43:15.529 - info: tuya.0 new Shema added for product type heeU2AWVxpxfqP6D. Please send next line from logfile on disk to developer!

2019-06-19 20:43:15.529 - info: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"iconname":"icon-dp_box2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度值","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light2","id":3,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_filter","id":5,"type":"obj","desc":""},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_list","id":6,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":255},"iconname":"icon-FanSpeed","id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":255},"iconname":"icon-yanse","id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":255},"iconname":"icon-dp_flower","id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":255},"iconname":"icon-a_mode_turbo","id":10,"type":"obj","desc":""},{"mode":"rw","code":"flashscreen","name":"新场景","property":{"type":"string","maxlen":255},"iconname":"icon-dp_house","id":11,"type":"obj","desc":""}]","schemaExt":"[{"id":1,"inputType":"plain"},{"id":2,"inputType":"plain"},{"id":3,"inputType":"percent"}]"}

2019-06-19 20:43:15.529 - info: tuya.0 new Shema added for product type U3JAXVgJIsEmht9o. Please send next line from logfile on disk to developer!
2019-06-19 20:43:15.529 - info: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4","music"],"type":"enum"},"id":2,"type":"obj","desc":"增加音乐模式"},{"mode":"rw","code":"bright_value","name":"亮度","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"id":3,"type":"obj","desc":""},{"mode":"rw","code":"temp_value","name":"冷暖","property":{"unit":"","min":0,"max":255,"scale":0,"step":1,"type":"value"},"id":4,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":14},"id":5,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":14},"id":6,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":14},"id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":44},"id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":14},"id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":44},"id":10,"type":"obj","desc":""},{"mode":"wr","code":"music","name":"音乐灯","property":{"type":"string","maxlen":255},"id":101,"type":"obj","desc":"音乐灯"}]","schemaExt":"[]"}

New Shema for wiINnkE8ASfAJSX6

Would be beautifull to have this avaiable.

tuya.0 {"schema":"[{"mode":"rw","code":"switch","name":"开关","property":{"type":"bool"},"id":1,"type":"obj","desc":""},{"mode":"rw","code":"temperature_c","name":"温度","property":{"unit":"°C","min":0,"max":37,"scale":0,"step":1,"type":"value"},"id":2,"type":"obj","desc":""},{"mode":"rw","code":"temperature_f","name":"华氏温度","property":{"unit":"°F","min":32,"max":99,"step":1,"type":"value"},"id":3,"type":"obj","desc":""},{"mode":"rw","code":"exchange","name":"华氏摄氏度切换","property":{"type":"bool"},"id":4,"type":"obj","desc":""},{"mode":"ro","code":"c_temperature","name":"实际摄氏温度","property":{"unit":"°C","min":0,"max":50,"step":1,"type":"value"},"id":5,"type":"obj","desc":""},{"mode":"ro","code":"f_temperature","name":"实际华氏温度","property":{"unit":"°F","min":32,"max":122,"step":1,"type":"value"},"id":6,"type":"obj","desc":""},{"mode":"rw","code":"appoint","name":"预约","property":{"unit":"m","min":0,"max":1440,"range":[0,60,120,180,240,300,360,420,480,540,600,660,720,780,840,900,960,1020,1080,1140,1200,1260,1320,1380,1440],"step":1,"type":"value"},"id":7,"type":"obj","passive":true,"desc":""},{"mode":"rw","code":"appoint_flag","name":"预约标志位","property":{"type":"bool"},"id":8,"type":"obj","desc":""},{"mode":"rw","code":"TimerData","name":"周程序","id":9,"type":"raw","desc":""},{"mode":"rw","code":"smartTimer","name":"定时","property":{"range":["holiday","program"],"type":"enum"},"id":10,"type":"obj","desc":""}]","schemaExt":"[]"}

Willkürliches schalten von Steckdosen

Hi Ingo,
ich bin ungern der Issue Schreiberling allerdings dieser hier hält mich von der Nutzung des Tuya Adapters ab.

Das Problem besteht darin, dass meine Steckdosen willkürlich ein und aus schalten. Das ist besonders bei Steckdosen mir Nachttisch Lampen nervtötend....Um drei Uhr morgens. 😉

Tuya Adapter ausschalten behebt das Problem. Zusätzlich ist noch der Alexa Skill aktiv sowie die Smart Life App aktiv. Diese sind nicht die Ursache.

Vermutlich geht es in Richtung Status Abfragen. Any Ideas?

Bezüglich meines Supports zu den minor issues deiner anderen Projekte - ich bin gerade etwas unter Wasser bei meinen anderen Projekten. Sobald ich die in der Reihe hab komme ich mit Pull-Requests unterstützend dazu.

Gruß Jan

Can not start because IP unknown

Moin,

ich habe iobroker mal auf meinem orangepi unter armbian installiert und da funktioniert der tuya adapter aus irgendeinem grund nicht...

tuya adapter installiert, proxy gestartet, cert installiert, proxy gesetzt und app gestartet, der proxy hat dann auch alles lesen können, außer die IP des Geräts.

Muss man noch irgendwas installieren, was auf einem raspbian ist, aber unter armbian nicht?

Neues Schema für einen smarten Lichtschalter

Wenn ich das Logfile richtig deute, dann soll ich die Zeile bzgl. des Schemas an den Entwickler senden, was ich hiermit mache :-) :

2019-05-23 21:00:08.286 - info: tuya.0 new Shema added for product type fcLzUB4zWk95xYdk. Please send next line from logfile on disk to developer!
2019-05-23 21:00:08.288 - info: tuya.0 {"schema":"[{"mode":"rw","code":"switch_1","name":"开关","property":{"type":"bool"},"id":1,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-05-23 21:00:08.548 - info: tuya.0 107200463c71bf3d9c39: Can not start because IP unknown

An in-range update of gulp is breaking the build 🚨

The devDependency gulp was updated from 4.0.0 to 4.0.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

gulp is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.0.1

Fix

Docs

  • Fix error in ES2015 usage example (a4e8d48) - Closes #2099 #2100
  • Add temporary notice for 4.0.0 vs 3.9.1 documentation (126423a) - Closes #2121
  • Improve recipe for empty glob array (45830cf) - Closes #2122
  • Reword standard to default (b065a13)
  • Fix recipe typo (86acdea) - Closes #2156
  • Add front-matter to each file (d693e49) - Closes #2109
  • Rename "Getting Started" to "Quick Start" & update it (6a0fa00)
  • Add "Creating Tasks" documentation (21b6962)
  • Add "JavaScript and Gulpfiles" documentation (31adf07)
  • Add "Working with Files" documentation (50fafc6)
  • Add "Async Completion" documentation (ad8b568)
  • Add "Explaining Globs" documentation (f8cafa0)
  • Add "Using Plugins" documentation (233c3f9)
  • Add "Watching Files" documentation (f3f2d9f)
  • Add Table of Contents to "Getting Started" directory (a43caf2)
  • Improve & fix parts of Getting Started (84b0234)
  • Create and link-to a "docs missing" page for LINK_NEEDED references (2bd75d0)
  • Redirect users to new Getting Started guides (53e9727)
  • Temporarily reference gulp@next in Quick Start (2cecf1e)
  • Fixed a capitalization typo in a heading (3d051d8) - Closes #2242
  • Use h2 headers within Quick Start documentation (921312c) - Closes #2241
  • Fix for nested directories references (4c2b9a7)
  • Add some more cleanup for Docusaurus (6a8fd8f)
  • Temporarily point LINK_NEEDED references to documentation-missing.md (df7cdcb)
  • API documentation improvements based on feedback (0a68710)
  • Update API Table of Contents (d6dd438)
  • Add API Concepts documentation (8dd3361)
  • Add Vinyl.isCustomProp() documentation (40ee801)
  • Add Vinyl.isVinyl() documentation (25a22bf)
  • Add Vinyl documentation (fc09067)
  • Update watch() documentation (69c22f0)
  • Update tree() documentation (ebb9818)
  • Update task() documentation (b636a9c)
  • Update symlink() documentation (d580efa)
  • Update src() documentation (d95b457)
  • Update series() documentation (4169cb6)
  • Update registry() documentation (d680487)
  • Update parallel() documentation (dc3cba7)
  • Update lastRun() documentation (363df21)
  • Update dest() documentation (e447d81)
  • Split API docs into separate markdown files (a3b8ce1)
  • Fix hash link (af4bd51)
  • Replace some links in Getting Started (c433c70)
  • Remove temporary workaround for facebook/Docusaurus#257 (5c07954) - Closes facebook/Docusaurus#257
  • Added code ticks to "null" where missing (cb67319) - Closes #2243
  • Fix broken link in lastRun (d35653e)
  • Add front-matter to documentation-missing page (a553cfd)
  • Improve grammar on Concepts (01cfcc5) - Closes #2247
  • Remove spaces around
    (c960c1d)
  • Improve grammar in src (eb493a2) - Closes #2248
  • Fix formatting error (ca6ba35) - Closes #2250
  • Fix formatting of lastRun (8569f85) - Closes #2251
  • Add missing link in watch (e35bdac) - Closes #2252
  • Fix broken link in tasks (6d43750) - Closes #2253
  • Improve punctuation in tree (8e9fd70) - Closes #2254
  • Fix mistake in "Splitting a gulpfile" (96c353d) - Closes #2255
  • Remove front-matter from outdated pages (c5af6f1)
  • Fix broken link in Table of Contents (c641369) - Closes #2260
  • Update the babel dependencies to install & configuration needed (7239cf1) - Closes #2136
  • Add "What's new in 4.0" section (75ea634) - Closes #2089 #2267
  • Cleanup README for "latest" bump (24e202b) - Closes #2268
  • Revert "next" reference now that 4.0 is latest (ed27cbe)
  • Add Azure Pipelines badge (f3f0548) - Closes #2310
  • Add note about transpilation to "Splitting a Gulpfile" section (53b9037) - Closes #2311 #2312
  • Improve wording of file rename (88437f2) - Closes #2314

Upgrade

  • Update glob-watcher, gulp-cli, and undertaker dependencies & rimraf devDep (d3734d3)

Build

  • Add node 10 to CI matrices (a5eac1c)
  • Remove jscs & update eslint for code formatting rules (ad8a2f7)
  • Fix Azure comment (34a6d53) - Closes #2307
  • Add Azure Pipelines CI (b2c6c7e) - Closes #2299

Scaffold

  • Mark *.png and *.jpg as binary files to git (a010db6)
  • Update some links and license year (1027236)
  • Add tidelift configuration (49b5aca)
  • Add new expense policy (9819957)
  • Add support-bot template (9078c49)
Commits

The new version differs by 77 commits.

  • ea3bba4 Release: 4.0.1
  • d3734d3 Upgrade: Update glob-watcher, gulp-cli, and undertaker dependencies & rimraf devDep
  • 88437f2 Docs: Improve wording of file rename (#2314)
  • 53b9037 Docs: Add note about transpilation to "Splitting a Gulpfile" section (closes #2311) (#2312)
  • f3f0548 Docs: Add Azure Pipelines badge (#2310)
  • 34a6d53 Build: Fix Azure comment (#2307)
  • b2c6c7e Build: Add Azure Pipelines CI (#2299)
  • ed27cbe Docs: Revert "next" reference now that 4.0 is latest
  • 24e202b Docs: Cleanup README for "latest" bump (#2268)
  • 75ea634 Docs: Add "What's new in 4.0" section (closes #2089) (#2267)
  • 9078c49 Scaffold: Add support-bot template
  • 7239cf1 Docs: Update the babel dependencies to install & configuration needed (closes #2136)
  • c641369 Docs: Fix broken link in Table of Contents (#2260)
  • 9819957 Scaffold: Add new expense policy
  • c5af6f1 Docs: Remove front-matter from outdated pages

There are 77 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Alfawise V8S PRO E30B Robot Vacuum Cleaner Schema

2019-07-07 15:14:53.045 - info: tuya.0 new Shema added for product type IRHu81DJNbMHKZSv. Please send next line from logfile on disk to developer!
2019-07-07 15:14:53.045 - info: tuya.0 {"schema":"[{"mode":"rw","code":"Power","name":"开关","property":{"type":"bool"},"id":1,"type":"obj","desc":"开关机控制。\n下发: 发送控制指令给主机,主机依据指令状态进行开关机操作。\n上报:\n当主机使用遥控器关机或者长时间静止进入关机状态后,主机会上报一个关机数据。\n当主机处于关机状态时,通过遥控器或者触摸主机的按键,主机会进入开机状态,主机会上报一个开机数据。"},{"mode":"ro","code":"Error","scope":"fault","name":"故障","property":{"label":["1","2","3","4","5","6","7","8","9","10","11","12","13","14"],"type":"bitmap","maxlen":14},"id":11,"type":"obj","desc":"0:无报警1:主动轮过载 2:前跌落触发 3:左跌落触发 4:右跌落触发 5:机器离地 6:左碰撞卡住 7:右碰撞卡住 8:边刷缠绕 9:电量低于20% 10:尘盒未安装 11:风扇异常 12:滚刷异常 13:电池故障14:水箱未安装"},{"mode":"ro","code":"battery","name":"剩余电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"id":14,"type":"obj","desc":"机器定时上报电量百分比, 0% - 100%"},{"mode":"rw","code":"power_go","name":"暂停","property":{"type":"bool"},"id":25,"type":"obj","desc":"0:暂停 1:工作"},{"mode":"rw","code":"directioncontrol","name":"方向控制","property":{"range":["forward","backward","turnleft","turnright","stop"],"type":"enum"},"id":26,"type":"obj","desc":"前/后/左/右/停"},{"mode":"rw","code":"mode","name":"工作模式","property":{"range":["idle","auto","spot","single","wallfollow","chargego"],"type":"enum"},"id":27,"type":"obj","desc":"idle 空闲模式、auto 自动模式 、spot 定点模式、single 单间模式、wallfollow 沿边模式、chargego 回充模式"},{"mode":"ro","code":"Status","name":"状态","property":{"range":["standby","working","fault","sleep","workcompleted","charging","chargecompleted","pause"],"type":"enum"},"id":28,"type":"obj","desc":"0: 待机 1: 工作中 2: 故障 3: 休眠 4: 工作完成 5: 充电 6: 充电完成 7:暂停"},{"mode":"wr","code":"Find_robot","name":"寻找机器人","property":{"type":"bool"},"id":29,"type":"obj","desc":"App触发下发1"},{"mode":"rw","code":"Fan_seepage","name":"清扫强度","property":{"range":["low","normal","high"],"type":"enum"},"id":30,"type":"obj","desc":""}]","schemaExt":"[]"}

Geräte Namen werden Guids wieder überschrieben

Es geht um diese Steckdosen von Gosund: https://www.amazon.de/gp/product/B07B911Y6V/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

Aktuelle Values die ausgegeben werden sind mA, mW, mV, IP, Online?, ein- oder ausgeschaltet. Kumulierte Werte wie in der App gibt es nicht, muss ich auch nicht zwingend haben.

Da als Werte aktuell nur Guids ausgelesen werden, hatte ich die Guid Bezeichner mit normalen Namen überschrieben (z.B. Trockner oder WaMa) und die einzelnen Values mit (mA),(mW) etc. bezeichnet. blöderweise werden diese Werte dann aber regelmäßig wieder überschrieben (Siehe Screenshot).

tuya

Firmware 1.0.10

Ich habe aktuelle Teckin steckdosen bekommen mit der Firmware 1.0.10. Diese scheinen das UDP Paket nicht auf 6666 sondern auf 6667 auszusenden.

Bildschirmfoto 2019-05-05 um 13 01 42

getting the Keys via the Proxy doesnt work anymore (App update)

There was an update for the smartlife app that said "bugs fixed", now getting the Device Keys via the proxy doesnt work anymore :(. I dont know if it is fixable or not but i think they somehow changed the transmission method or something like that. I am using IOS and all Settings are right, because it fine worked for the last times. Pleas fix it if its possible :).

Fehlermeldung

Hallo,

ich habe diese Fehlermeldung beim Einbinden eines Rolladenschalters bekommen:
{"schema":"[{"mode":"rw","code":"status","name":"窗帘状态","property":{"range":["1","2","3"],"type":"enum"},"id":1,"type":"obj","desc":"开 关 暂停"}]","schemaExt":"[]"}

VG

Krodon

Schemas für Lampe -> Logfile

Ich glaube wie gewünscht das Schema zu der Lampe, die ich heute erfolgreich hinzugefügt habe:

MAXCIO RGB Lampe (E14):

2019-02-10 13:42:14.441 - �[34mdebug�[39m: tuya.0 Found 1 device schema information
2019-02-10 13:42:14.442 - �[32minfo�[39m: tuya.0 new Shema added for product type rrOujSy4Pf1BwEgV. Please send next line from logfile on disk to developer!
2019-02-10 13:42:14.442 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"工作模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"iconname":"icon-dp_mode","id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度值","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_sun","id":3,"type":"obj","desc":""},{"mode":"rw","code":"temp_value","name":"冷暖值","property":{"unit":"","min":0,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light","id":4,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":14},"id":5,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":14},"id":6,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"flash_scene_1","name":"柔光情景","property":{"type":"string","maxlen":14},"id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷情景","property":{"type":"string","maxlen":44},"id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩情景","property":{"type":"string","maxlen":14},"id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓情景","property":{"type":"string","maxlen":44},"id":10,"type":"obj","desc":""}]","schemaExt":"[{"id":3,"inputType":""},{"id":4,"inputType":""}]"}

An in-range update of qrcode is breaking the build 🚨

The dependency qrcode was updated from 1.3.3 to 1.3.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

qrcode is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build passed (Details).
  • continuous-integration/appveyor/branch: AppVeyor build failed (Details).

Commits

The new version differs by 13 commits.

  • def7b87 1.3.4
  • e4ad095 fix: fixes yargs coercing number args eating zeros
  • 8d0b21b chore: clean up keywords
  • a938655 Merge pull request #180 from niftylettuce/patch-1
  • e457cc8 Update package.json
  • f3ae0e8 Merge pull request #176 from gfx/remove-can-promise-deps
  • 69b81fb remove can-promise package which is no longer used
  • 2066d03 Create CODE_OF_CONDUCT.md
  • 196a379 Merge pull request #169 from abmaonline/feature/137-digits-only-color-code
  • d59c2bf Add support for color codes containing only digits
  • 004e26c fix: adding node 8 and 10 to travis
  • b265e31 lint: standard
  • b90c950 feat: adding changelog fixes #165

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Min-Max value TempSet

in continuation of conversation issues #21
I added a thermostat to the Smart life app. and added in IoBroker. I can control it now. But the problem with the wrong values remained. I wanted to send values through the script, but the driver creates restrictions for object TempSet 10-70 after reboot, which is unacceptable for me. I need to be able to change the values from 0, can fix it? This thermostat for some reason sends values divided by 5. I. e. if the object is 5 then the thermostat will be 25. Perhaps you can somehow track that the thermostat returns "small" values, and by default multiply them by 5? But now I would like at least what would the driver do not set the value interval, and allowed me to store values which are less than 10..

Geräte lassen sich wie nicht von tuya vorgesehen schalten

Moin,

in der Tuya-App 'Smart Life' ist es ja nicht vorgesehen Attribute von den Geräten zu ändern, wenn diese ausgeschaltet sind, beispielsweise die Helligkeit einer Lampe, die Slider werden ausgeblendet wenn das Gerät ausgeschaltet ist. (switch = false)

Dank dieser iobrroker Erweiterung, lassen sich solche Werte auch ändern, wenn das Gerät ausgeschaltet ist.
Das führt allerdings dazu, dass sich das Gerät auch einschaltet, der switch aber trotzdem auf false bleibt. Es war ja von den Entwicklern bei tuya auch nie vorgesehen, dass man in dieser Art und weise schalten kann.

Nun die Frage, wäre es dir möglich so einen Steuerbefehl abzufangen, und dann entweder den Switch auf true zu setzen oder eine solche Steuerung zu verwehren?

Man kann das ja auch als Skript in iobroker einbinden, das allerdings für jedes Gerät zu machen ist ja unnötiger Aufwand, wenn dies einmal Zentral im Adapter eingepflegt werden könnte :)

An in-range update of tuyapi is breaking the build 🚨

The dependency tuyapi was updated from 3.1.4 to 3.1.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

tuyapi is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/appveyor/branch: Waiting for AppVeyor build to complete (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Neues Schema Blitzwoif Stekdosen BW-SHP2

tuya.0	2019-05-24 17:49:00.246	info	{"schema":"[{\"mode\":\"rw\",\"code\":\"switch_1\",\"name\":\"开关1\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":
tuya.0	2019-05-24 17:49:00.246	info	new Shema added for product type VdDGAJHYWVj62FGM. Please send next line from logfile on disk to developer!

Dies sien die Loginräge von Meine IoBroker.

new Shema added for product type ScIEYTTGvXy1uuWt

Hope this helps :)

tuya.0 2018-11-19 18:33:43.657 info {"schema":"[{"mode":"rw","code":"switch_1","name":"开关1","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code"
tuya.0 2018-11-19 18:33:43.657 info new Shema added for product type ScIEYTTGvXy1uuWt. Please send next line from logfile on disk to developer!

Problem mit Proyx Einstellung

Problem mit dem Tuya Adapter!
Seit heute Nacht sind alle Geräte aus dem Tuya Adapter verschwunden. Der Tuya Adapter läßt sich nicht mehr starten. Die Proxy Einstellungen können nicht gestartet werden. Wie kann man das Problem lösen. P.S ich verfüge über ein Andoid Smartphone.

An in-range update of tuyapi is breaking the build 🚨

The dependency tuyapi was updated from 3.1.2 to 3.1.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

tuyapi is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/appveyor/branch: Waiting for AppVeyor build to complete (Details).
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 3 commits.

  • 6d1b521 3.1.3
  • 897a309 Handle error from device better
  • c8b5198 added link to tuyapi powered NodeRED input node (#104)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Fehlendes Schema für WLAN Universal Fernbedienung

Ich habe eine WLan Universalfernbedienung von PEARL.
Die Einbindung funktioniert, aber ich kann sie nicht steuern.
screenshot_2019-01-12 objects - iobroker

Der Logfile ist:

undefined2019-01-12 21:06:38.195 - �[32minfo�[39m: tuya.0 Anyproxy ready to receive requests
2019-01-12 21:06:41.610 - �[32minfo�[39m: tuya.0 new Shema added for product type bX4RxnUXbwNdXWql. Please send next line from logfile on disk to developer!
2019-01-12 21:06:41.618 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"control","name":"控制命令","property":{"range":["send_ir","study","study_exit","study_key"],"type":"enum"},"id":1,"type":"obj","desc":"send_ir:码库红外码发送\nstudy:进入学习状态\nstudy_exit:退出学习状态\nstudy_key:学习获取到的红外码发送"},{"mode":"ro","code":"study_code","name":"学习编码","id":2,"type":"raw","desc":""},{"mode":"wr","code":"ir_code","name":"遥控器参数","property":{"type":"string","maxlen":255},"id":3,"type":"obj","desc":""},{"mode":"wr","code":"key_code","name":"按键参数","property":{"type":"string","maxlen":255},"id":4,"type":"obj","desc":""},{"mode":"wr","code":"key_code2","name":"按键参数2","property":{"type":"string","maxlen":255},"id":5,"type":"obj","desc":"仅用于机顶盒多个按键下发"},{"mode":"wr","code":"key_code3","name":"按键参数3","property":{"type":"string","maxlen":255},"id":6,"type":"obj","desc":"仅用于机顶盒多个按键下发"},{"mode":"wr","code":"key_study","name":"来自学习按键下发","id":7,"type":"raw","desc":""},{"mode":"wr","code":"key_study2","name":"来自学习按键下发2","id":8,"type":"raw","desc":"仅用于机顶盒多个按键下发"},{"mode":"wr","code":"key_study3","name":"来自学习按键下发3","id":9,"type":"raw","desc":"仅用于机顶盒多个按键下发"}]","schemaExt":"[]"}
2019-01-12 21:06:41.619 - �[32minfo�[39m: tuya.0 new Shema added for product type jllh2kdbGM0QTdf1. Please send next line from logfile on disk to developer!
2019-01-12 21:06:41.620 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"wr","code":"control","name":"控制命令","property":{"range":["send_ir","study","study_exit","study_key"],"type":"enum"},"id":1,"type":"obj","desc":""},{"mode":"ro","code":"study_code","name":"学习编码","id":2,"type":"raw","desc":""},{"mode":"rw","code":"ir_code","name":"红外编码","property":{"type":"string","maxlen":255},"id":3,"type":"obj","desc":""},{"mode":"rw","code":"key_code","name":"码库按键参数","property":{"type":"string","maxlen":255},"id":4,"type":"obj","desc":""},{"mode":"rw","code":"key_code2","name":"码库按键参数2","property":{"type":"string","maxlen":255},"id":5,"type":"obj","desc":""},{"mode":"rw","code":"key_code3","name":"码库按键参数3","property":{"type":"string","maxlen":255},"id":6,"type":"obj","desc":""},{"mode":"rw","code":"key_study","name":"来自学习参数下发","id":7,"type":"raw","desc":""},{"mode":"rw","code":"key_study2","name":"来自学习参数下发2","id":8,"type":"raw","desc":""},{"mode":"rw","code":"key_study3","name":"来自学习参数下发3","id":9,"type":"raw","desc":""},{"mode":"wr","code":"switch_power","name":"开关","property":{"type":"bool"},"id":101,"type":"obj","desc":""},{"mode":"rw","code":"mode","name":"模式","property":{"range":["0","1","2","3","4"],"type":"enum"},"id":102,"type":"obj","desc":""},{"mode":"wr","code":"temperature","name":"温度","property":{"unit":"","min":16,"max":30,"scale":0,"step":1,"type":"value"},"id":103,"type":"obj","desc":""},{"mode":"rw","code":"fan","name":"风量","property":{"range":["0","1","2","3"],"type":"enum"},"id":104,"type":"obj","desc":""},{"mode":"wr","code":"swing","name":"摆风","property":{"type":"bool"},"id":105,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-01-12 21:06:41.620 - �[32minfo�[39m: tuya.0 new Shema added for product type MZdP3axAfnAlIc4k. Please send next line from logfile on disk to developer!
2019-01-12 21:06:41.620 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"switch_on","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"rw","code":"countdown","name":"倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":2,"type":"obj","passive":true,"desc":""}]","schemaExt":"[]"}
2019-01-12 21:06:41.621 - �[32minfo�[39m: tuya.0 new Shema added for product type X54enXVZyZCvH0Ar. Please send next line from logfile on disk to developer!
2019-01-12 21:06:41.621 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"wr","code":"control","name":"控制命令","property":{"range":["send_ir","study","study_exit","study_key"],"type":"enum"},"id":1,"type":"obj","desc":""},{"mode":"ro","code":"study_code","name":"学习编码","id":2,"type":"raw","desc":""},{"mode":"rw","code":"ir_code","name":"红外编码","property":{"type":"string","maxlen":255},"id":3,"type":"obj","desc":""},{"mode":"rw","code":"key_code","name":"码库按键参数","property":{"type":"string","maxlen":255},"id":4,"type":"obj","desc":""},{"mode":"rw","code":"key_code2","name":"码库按键参数2","property":{"type":"string","maxlen":255},"id":5,"type":"obj","desc":""},{"mode":"rw","code":"key_code3","name":"码库按键参数3","property":{"type":"string","maxlen":255},"id":6,"type":"obj","desc":""},{"mode":"rw","code":"key_study","name":"来自学习参数下发","id":7,"type":"raw","desc":""},{"mode":"rw","code":"key_study2","name":"来自学习参数下发2","id":8,"type":"raw","desc":""},{"mode":"rw","code":"key_study3","name":"来自学习参数下发3","id":9,"type":"raw","desc":""}]","schemaExt":"[]"}
2019-01-12 21:06:42.654 - �[32minfo�[39m: tuya.0 bfe948caa74ef57963aa7h: Can not start because IP unknown
2019-01-12 21:06:42.669 - �[32minfo�[39m: tuya.0 bfd8803396d9e84f9aokii: Can not start because IP unknown
2019-01-12 21:06:42.680 - �[32minfo�[39m: tuya.0 00880368cc50e3061e15 Init with IP=192.168.178.63, Key=847a9ead4cb3f29b
2019-01-12 21:06:42.703 - �[32minfo�[39m: tuya.0 7666462384f3eb640a90 Init with IP=192.168.178.57, Key=5bec6bc9d6ec7f8f
2019-01-12 21:06:42.706 - �[32minfo�[39m: tuya.0 bfd8803396d9e84f9aokii: Can not start because IP unknown
2019-01-12 21:06:42.707 - �[32minfo�[39m: tuya.0 00880368cc50e3061e15 Init with IP=192.168.178.63, Key=847a9ead4cb3f29b
2019-01-12 21:06:42.713 - �[32minfo�[39m: tuya.0 7666462384f3eb640a90 Init with IP=192.168.178.57, Key=5bec6bc9d6ec7f8f
2019-01-12 21:06:42.715 - �[32minfo�[39m: tuya.0 bfe948caa74ef57963aa7h: Can not start because IP unknown
2019-01-12 21:06:42.716 - �[32minfo�[39m: tuya.0 bfe948caa74ef57963aa7h: Can not start because IP unknown
2019-01-12 21:06:42.717 - �[32minfo�[39m: tuya.0 bfd8803396d9e84f9aokii: Can not start because IP unknown
2019-01-12 21:06:42.719 - �[32minfo�[39m: tuya.0 00880368cc50e3061e15 Init with IP=192.168.178.63, Key=847a9ead4cb3f29b
2019-01-12 21:06:42.721 - �[32minfo�[39m: tuya.0 7666462384f3eb640a90 Init with IP=192.168.178.57, Key=5bec6bc9d6ec7f8f

Vielen Dank für Deine Mühe!

New Schema to add for product type Okurono2XLVRV0fB

Hello,

I got following error and hope you can fix it by adding new schema to tuya adapter to work with my device:

2019-06-20 20:31:13.775 - info: tuya.0 starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.16.0

2019-06-20 20:31:13.941 - info: tuya.0 53508508bcddc2957c3c: Can not start because IP unknown
2019-06-20 20:31:13.942 - info: tuya.0 Existing devices initialized
2019-06-20 20:31:13.954 - info: tuya.0 Discover for local Tuya devices on port 6666
2019-06-20 20:37:32.400 - info: info.0 Popup-News readed...
2019-06-20 21:04:59.390 - info: tuya.0 Anyproxy ready to receive requests
2019-06-20 21:06:26.129 - info: tuya.0 new Shema added for product type Okurono2XLVRV0fB. Please send next line from logfile on disk to developer!
2019-06-20 21:06:26.130 - info: tuya.0 {"schema":"[{"mode":"ro","code":"PIR","name":"Alarm","property":{"type":"bool"},"id":101,"type":"obj","desc":""},{"mode":"ro","code":"BatteryStatus","name":"Battery","property":{"range":["0x00","0x01","0x02","0x03"],"type":"enum"},"id":102,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-06-20 21:06:26.176 - info: tuya.0 53508508bcddc2957c3c: Can not start because IP unknown
2019-06-20 21:06:58.567 - info: host.raspberrypi object change system.adapter.tuya.0
2019-06-20 21:06:58.567 - info: host.raspberrypi stopInstance system.adapter.tuya.0
2019-06-20 21:06:58.568 - info: host.raspberrypi stopInstance system.adapter.tuya.0 killing pid 22107
2019-06-20 21:06:59.122 - info: host.raspberrypi instance system.adapter.tuya.0 terminated with code 0 (OK)
2019-06-20 21:07:01.091 - info: host.raspberrypi instance system.adapter.tuya.0 started with pid 2039
2019-06-20 21:07:06.244 - info: tuya.0 starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.16.0
2019-06-20 21:07:06.414 - info: tuya.0 53508508bcddc2957c3c: Can not start because IP unknown
2019-06-20 21:07:06.415 - info: tuya.0 Existing devices initialized
2019-06-20 21:07:06.427 - info: tuya.0 Discover for local Tuya devices on port 6666
2019-06-20 21:07:32.354 - info: info.0 Popup-News readed...

Thank you in advance!

Es besteht keine Verbindung zu tuya

Nachdem ich mittels eines Android Gerätes die Geräte in den ioBroker bekommen habe, besteht nun laut ioBroker keine Verbindung zu Tuya...

tuya.0 2019-06-26 17:45:25.390 info Discover for local Tuya devices on port 6666
tuya.0 2019-06-26 17:45:25.385 info Existing devices initialized
tuya.0 2019-06-26 17:45:25.384 info 36617123807d3a2a16b4: Can not start because IP unknown
tuya.0 2019-06-26 17:45:25.317 info starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.14.0
tuya.0 2019-06-26 17:44:02.705 info Discover for local Tuya devices on port 6666
tuya.0 2019-06-26 17:44:02.700 info Existing devices initialized
tuya.0 2019-06-26 17:44:02.699 info 36617123807d3a2a16b4: Can not start because IP unknown
tuya.0 2019-06-26 17:44:02.635 info starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.14.0

passt das so oder meinst du ein anders log?

Support for Tuya door sensor

I can't get my Tuya door sensor working.
It goes to standby as planned after a few seconds after triggering to safe battery. So it is not online the whole time.

Is there a chance to get it working in ioBroker?

Thanks.

add support for Wifi Thermostat

Can you add support for this thermostat - "Wifi Thermostat Voice Control Electric Floor Heating Thermostat LCD Display Smart Temperature Controller Works with Alexa 16A"?
https://ru.aliexpress.com/item/Wifi-Thermostat-Voice-Control-Electric-Floor-Heating-Thermostat-LCD-Display-Smart-Temperature-Controller-Works-with-Alexa/32904311222.html (Xiamen Beca Energysaving Technology Co.,Ltd Beca Valve Co.,Ltd)
In the debag mode, the data comes true, only multiplied by 2. This thermostat has its own application, called "My Smart Thermostat"
11 02 2019 11 37 49
. If it is possible, I would like to get the key from it, as it is impossible to grab the key through the proxy. In objects, values with obscure characters.
image

log:

2019-02-11 11:35:19.312 - debug: tuya.0 30801624bcddc28daee6: Received data: {"1":true,"2":53,"3":49,"4":"1","5":false,"6":false,"102":57,"104":true}
--
2019-02-11 11:35:19.314 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.1 {"val":true,"ack":true,"ts":1549874119312,"q":0,"from":"system.adapter.tuya.0","lc":1549830043599}
2019-02-11 11:35:19.316 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.2 {"val":5.3,"ack":true,"ts":1549874119314,"q":0,"from":"system.adapter.tuya.0","lc":1549872799166}
2019-02-11 11:35:19.318 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.3 {"val":4.9,"ack":true,"ts":1549874119316,"q":0,"from":"system.adapter.tuya.0","lc":1549872979244}
2019-02-11 11:35:19.324 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.4 {"val":"1","ack":true,"ts":1549874119317,"q":0,"from":"system.adapter.tuya.0","lc":1549873159188}
2019-02-11 11:35:19.324 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.5 {"val":false,"ack":true,"ts":1549874119318,"q":0,"from":"system.adapter.tuya.0","lc":1549872439211}
2019-02-11 11:35:19.324 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.6 {"val":false,"ack":true,"ts":1549874119318,"q":0,"from":"system.adapter.tuya.0","lc":1549872379183}
2019-02-11 11:35:19.324 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.102 {"val":5.7,"ack":true,"ts":1549874119319,"q":0,"from":"system.adapter.tuya.0","lc":1549872379184}
2019-02-11 11:35:19.324 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.104 {"val":true,"ack":true,"ts":1549874119319,"q":0,"from":"system.adapter.tuya.0","lc":1548864739699}
2019-02-11 11:36:19.323 - debug: tuya.0 30801624bcddc28daee6: Received data: {"1":true,"2":53,"3":49,"4":"1","5":false,"6":false,"102":57,"104":true}
2019-02-11 11:36:19.330 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.1 {"val":true,"ack":true,"ts":1549874179324,"q":0,"from":"system.adapter.tuya.0","lc":1549830043599}
2019-02-11 11:36:19.334 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.2 {"val":5.3,"ack":true,"ts":1549874179332,"q":0,"from":"system.adapter.tuya.0","lc":1549872799166}
2019-02-11 11:36:19.351 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.3 {"val":4.9,"ack":true,"ts":1549874179334,"q":0,"from":"system.adapter.tuya.0","lc":1549872979244}
2019-02-11 11:36:19.353 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.4 {"val":"1","ack":true,"ts":1549874179335,"q":0,"from":"system.adapter.tuya.0","lc":1549873159188}
2019-02-11 11:36:19.354 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.5 {"val":false,"ack":true,"ts":1549874179335,"q":0,"from":"system.adapter.tuya.0","lc":1549872439211}
2019-02-11 11:36:19.355 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.6 {"val":false,"ack":true,"ts":1549874179336,"q":0,"from":"system.adapter.tuya.0","lc":1549872379183}
2019-02-11 11:36:19.359 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.102 {"val":5.7,"ack":true,"ts":1549874179336,"q":0,"from":"system.adapter.tuya.0","lc":1549872379184}
2019-02-11 11:36:19.371 - debug: tuya.0 stateChange tuya.0.30801624bcddc28daee6.104 {"val":true,"ack":true,"ts":1549874179336,"q":0,"from":"system.adapter.tuya.0","lc":1548864739699}

Devices are no longer detected after device upgrade (upgrade to mcu 1.0.5 and wifi 1.0.5)

Debug protocoll
2019-03-15 11:58:53.251 - �[32minfo�[39m: tuya.0 Anyproxy ready to receive requests
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type 6mowdiydpq6sxur9. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"iconname":"icon-dp_box2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度值","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light2","id":3,"type":"obj","desc":""},{"mode":"rw","code":"temp_value","name":"冷暖值","property":{"unit":"","min":0,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-a_mode_heat","id":4,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_filter","id":5,"type":"obj","desc":""},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_list","id":6,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":255},"iconname":"icon-FanSpeed","id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":255},"iconname":"icon-yanse","id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":255},"iconname":"icon-dp_flower","id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":255},"iconname":"icon-a_mode_turbo","id":10,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type D7Hl3AxFbHDS98iO. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"switch_1","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code":"switch_2","name":"开关2","property":{"type":"bool"},"iconname":"icon-dp_power2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"switch_3","name":"开关3","property":{"type":"bool"},"iconname":"icon-dp_power2","id":3,"type":"obj","desc":""},{"mode":"rw","code":"switch_4","name":"开关4","property":{"type":"bool"},"iconname":"icon-dp_power2","id":4,"type":"obj","desc":""},{"mode":"rw","code":"switch_usb1","name":"USB 1","property":{"type":"bool"},"iconname":"icon-dp_power","id":7,"type":"obj","desc":""},{"mode":"rw","code":"countdown1","name":"开关1倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":101,"type":"obj","desc":""},{"mode":"rw","code":"countdown2","name":"开关2倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":102,"type":"obj","desc":""},{"mode":"rw","code":"countdown3","name":"开关3倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":103,"type":"obj","desc":""},{"mode":"rw","code":"countdown4","name":"开关4倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":104,"type":"obj","desc":""},{"mode":"rw","code":"countdown_usb1","name":"USB倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":105,"type":"obj","desc":""}]","schemaExt":"[{"id":101,"inputType":""},{"id":102,"inputType":""},{"id":103,"inputType":""},{"id":104,"inputType":""},{"id":105,"inputType":""}]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type DEQevYCSHLnbDube. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"id":3,"type":"obj","desc":""},{"mode":"rw","code":"temp_value","name":"冷暖","property":{"unit":"","min":0,"max":255,"scale":0,"step":1,"type":"value"},"id":4,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":14},"id":5,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":14},"id":6,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":14},"id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":44},"id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":14},"id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":44},"id":10,"type":"obj","desc":""},{"mode":"rw","code":"power","name":"power","property":{"type":"bool"},"id":101,"type":"obj","desc":"插座开关"},{"mode":"rw","code":"countdown","name":"延迟","property":{"unit":"S","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":102,"type":"obj","desc":""},{"mode":"ro","code":"add_ele","name":"电量","property":{"unit":"度","min":0,"max":500000,"scale":3,"step":100,"type":"value"},"id":103,"type":"obj","desc":"上报的为放大100倍之后的值,即上报56,实际值为0.56度"},{"mode":"ro","code":"cur_current","name":"电流","property":{"unit":"mA","min":0,"max":30000,"scale":0,"step":1,"type":"value"},"id":104,"type":"obj","desc":""},{"mode":"ro","code":"cur_power","name":"功率","property":{"unit":"W","min":0,"max":50000,"scale":0,"step":1,"type":"value"},"id":105,"type":"obj","desc":""},{"mode":"ro","code":"cur_voltage","name":"电压","property":{"unit":"V","min":0,"max":2500,"scale":0,"step":1,"type":"value"},"id":106,"type":"obj","desc":""}]","schemaExt":"[{"id":1,"inputType":" "},{"id":2,"inputType":" "},{"id":3,"inputType":" "},{"id":4,"inputType":" "},{"id":101,"inputType":" "},{"id":102,"inputType":" "},{"id":103,"inputType":""},{"id":104,"inputType":""},{"id":105,"inputType":""},{"id":106,"inputType":""}]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type heeU2AWVxpxfqP6D. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"iconname":"icon-dp_box2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度值","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light2","id":3,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_filter","id":5,"type":"obj","desc":""},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_list","id":6,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":255},"iconname":"icon-FanSpeed","id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":255},"iconname":"icon-yanse","id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":255},"iconname":"icon-dp_flower","id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":255},"iconname":"icon-a_mode_turbo","id":10,"type":"obj","desc":""},{"mode":"rw","code":"flashscreen","name":"新场景","property":{"type":"string","maxlen":255},"iconname":"icon-dp_house","id":11,"type":"obj","desc":""}]","schemaExt":"[{"id":1,"inputType":"plain"},{"id":2,"inputType":"plain"},{"id":3,"inputType":"percent"}]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type oSQljE9YDqwCwTUA. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"ro","code":"status","name":"开关状态","property":{"range":["open","closed"],"type":"enum"},"iconname":"icon-dp_direction","id":1,"type":"obj","desc":""},{"mode":"ro","code":"BatteryStatus","name":"电池电量","property":{"range":["0x00","0x01","0x02","0x03"],"type":"enum"},"id":101,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type qxJSyTLEtX5WrzA9. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"switch_on","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power3","id":1,"type":"obj","desc":""},{"mode":"rw","code":"countdown","name":"倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":2,"type":"obj","passive":true,"desc":""},{"mode":"ro","code":"add_ele","name":"增加电量","property":{"unit":"度","min":0,"max":500000,"scale":3,"step":100,"type":"value"},"id":3,"type":"obj","desc":"上报的为放大100倍之后的值,即上报56,实际值为0.56度"},{"mode":"ro","code":"cur_current","name":"当前电流","property":{"unit":"mA","min":0,"max":30000,"scale":0,"step":1,"type":"value"},"id":4,"type":"obj","desc":""},{"mode":"ro","code":"cur_power","name":"当前功率","property":{"unit":"W","min":0,"max":50000,"scale":0,"step":1,"type":"value"},"id":5,"type":"obj","desc":""},{"mode":"ro","code":"cur_voltage","name":"电压","property":{"unit":"V","min":0,"max":3000,"scale":0,"step":1,"type":"value"},"id":6,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type Xg7AvNi7aeRqW3fD. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"switch_1","name":"开关1","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code":"switch_2","name":"开关2","property":{"type":"bool"},"iconname":"icon-dp_power2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"countdown_1","name":"开关1倒计时","property":{"unit":"s","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time2","id":9,"type":"obj","desc":""},{"mode":"rw","code":"countdown_2","name":"开关2倒计时","property":{"unit":"s","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time2","id":10,"type":"obj","desc":""},{"mode":"rw","code":"add_ele","name":"增加电量","property":{"unit":"","min":0,"max":50000,"scale":3,"step":100,"type":"value"},"iconname":"icon-battery","id":17,"type":"obj","desc":""},{"mode":"ro","code":"cur_current","name":"当前电流","property":{"unit":"mA","min":0,"max":30000,"scale":0,"step":1,"type":"value"},"iconname":"icon-Ele","id":18,"type":"obj","desc":""},{"mode":"ro","code":"cur_power","name":"当前功率","property":{"unit":"W","min":0,"max":50000,"scale":1,"step":1,"type":"value"},"iconname":"icon-dp_tool","id":19,"type":"obj","desc":""},{"mode":"ro","code":"cur_voltage","name":"当前电压","property":{"unit":"V","min":0,"max":5000,"scale":1,"step":1,"type":"value"},"iconname":"icon-a_function_turbo","id":20,"type":"obj","desc":""},{"mode":"ro","code":"test_bit","name":"产测结果位","property":{"unit":"","min":0,"max":5,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_direction","id":21,"type":"obj","desc":""},{"mode":"ro","code":"voltage_coe","name":"电压校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":22,"type":"obj","desc":""},{"mode":"ro","code":"electric_coe","name":"电流校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":23,"type":"obj","desc":""},{"mode":"ro","code":"power_coe","name":"功率校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":24,"type":"obj","desc":""},{"mode":"ro","code":"electricity_coe","name":"电量校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":25,"type":"obj","desc":""},{"mode":"ro","code":"fault","scope":"fault","name":"故障告警","property":{"label":["ov_cr"],"type":"bitmap","maxlen":1},"id":26,"type":"obj","desc":"ov_cr:过流保护"}]","schemaExt":"[{"id":1,"inputType":"plain"},{"id":2,"inputType":"plain"},{"id":9,"inputType":"plain"},{"id":10,"inputType":"plain"},{"id":17,"inputType":" "},{"id":18,"inputType":""},{"id":19,"inputType":""},{"id":20,"inputType":""},{"id":21,"inputType":""},{"id":22,"inputType":""},{"id":23,"inputType":""},{"id":24,"inputType":""},{"id":25,"inputType":""}]"}
2019-03-15 11:59:05.381 - �[32minfo�[39m: tuya.0 006672663c71bf23b2b2: Can not start because IP unknown
2019-03-15 11:59:05.427 - �[32minfo�[39m: tuya.0 23741057bcddc2819f58: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 22551008840d8e8c6884: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 05200020ecfabc9356e1: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 06114800dc4f2253f0d1: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 06114800840d8e8af07f: Can not start because IP unknown
2019-03-15 11:59:07.177 - �[32minfo�[39m: tuya.0 006672663c71bf23b2b2: Can not start because IP unknown
2019-03-15 11:59:07.177 - �[32minfo�[39m: tuya.0 23741057bcddc2819f58: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 22551008840d8e8c6884: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 05200020ecfabc9356e1: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 06114800840d8e8af07f: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 06114800dc4f2253f0d1: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 006672663c71bf23b2b2: Can not start because IP unknown
2019-03-15 11:59:07.239 - �[32minfo�[39m: tuya.0 23741057bcddc2819f58: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 22551008840d8e8c6884: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 05200020ecfabc9356e1: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 06114800840d8e8af07f: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 06114800dc4f2253f0d1: Can not start because IP unknown

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.