Coder Social home page Coder Social logo

iobroker.mystrom-wifi-switch's People

Contributors

anunezde avatar apollon77 avatar dependabot[bot] avatar germanbluefox avatar instalator avatar ldittmar81 avatar pmant avatar rgwch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

iobroker.mystrom-wifi-switch's Issues

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/rgwch/ioBroker.mystrom-wifi-switch

  • [E145] No news found for actual version 2.0.8
  • [E300] Not found on travis. Please setup travis

I have also found warnings that may be fixed if possible.

  • [W400] Cannot find "mystrom-wifi-switch" in latest repository

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

Please add support of Admin3

For all new adapters it is required the support of admin3.
You can just copy it from somewhere.
and add "materialize": true to io-package.json/common

Compatibility check and testing for Node.js 14 and 16

Dear Adapter develop,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

Please rename adapter to Mystrom-WiFi-switch or such

... because it is no full Mystrom implementation, but only one special device.

Users would expect more general functionality and leaving the name as is would block a real mystrom Adapter getting „the correct“ name.

Would this be possible?!

Thank you

Please check ioBroker.mystrom-wifi-switch with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Error message and adapter doesn't creat an object

Hello,

I've installed the adapter. I've set the correct IP of my Switch and set the polling intervall but the adapter says not connected and no sign of life.

bildschirmfoto 2018-06-09 um 11 49 30

I'm getting this Error message in the logfiles:

startInstance mystrom-wifi-switch.1: cannot find start file!

The object isn't shown unless I activate the expert mode.

Naming the Instance?

hey
is there a way to renaming the instances?
when having a lot of the switches it's difficult to see which is which :-)

thanks
pat

V2.0.7: Switch turned on upon adapter start

in Version 2.0.7, the switch is turned on, if the adapter is restarted, i.e. also on ioBroker restart.

Also, the change log does not include info about V2.0.7

Christoph S

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

If something is not correct this is logged as 'warning' or 'info' log.

Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1301

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

Downgrade Firmware

"Downgrade auf Firmware Version 3.82.46 gemacht, nun funktioniert's wieder!"

Originally posted by @thomasvoni in #31 (comment)

Wo bekomme ich denn die ältere Firmware?
Auf der Supportseite von MyStrom finde ich mur eine Firmware zur Version 1 des Switch.

Reloop start detected with js-controller 5.0.12

With V. 2.08:

After upgrading js-controller myswitch instance reloop was detected and stop the instance.

Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at MystromSwitch._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5439:49) at MystromSwitch.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5400:21) at /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2037:16 at new Promise (<anonymous>) at MystromSwitch.setStateAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2036:16) at MystromSwitch.<anonymous> (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:146:28) at Generator.next (<anonymous>) at fulfilled (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:8:58)

unhandled promise rejection: undefined is not a valid state value Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). instance system.adapter.mystrom-wifi-switch.2 terminated with code 6 (UNCAUGHT_EXCEPTION) Terminated (UNCAUGHT_EXCEPTION): Without reason undefined is not a valid state value

File index_m.html not found

Hi
after i install the mystrom adapter from github und add an adapter i get following error:
File index_m.html not found
I could'nt set an IP or doing any config.
OS: win32
Version: 1.2.3

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

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/rgwch/ioBroker.mystrom-wifi-switch

  • [E145] No news found for actual version 2.0.8
  • [E154] common.dependencies must contain {"js-controller": ">=2.0.0"} or {"js-controller": ">=3.0.0"}
  • [E300] Not found on travis. Please setup travis
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2017-2022 rgwch [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2022 rgwch [email protected]" at the start of LICENSE

I have also found warnings that may be fixed if possible.

  • [W400] Cannot find "mystrom-wifi-switch" in latest repository

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

Steckdosen werden ausgeschalten

Bei einem Adapter start/neustart oder bei einem IoBroker neustart, werden immer die verbundenen Steckdose ausgeschalten :(

Feature Request: Add API Token

I would like to use the adapter using the API Token. Without enabled API Token anyone in "my" network would be able to manipulate my switch (turn on/off).

Please implement the usage of the API Token.

LOG Einträge / Log entries

Besten Dank für den Adapter. Er funktioniert soweit gut. Jedochwird bei jedem Abfrageintervall wird ein Log Eintrag (info) geschrieben. Das muss doch nicht sein.
Version 2.0.4

Thanks for the adapter. It works well so far. But with each query interval a log entry (info) is written. That does not have to be.
Version 2.0.4

Quelle Zeit debug  Meldung
mystrom-wifi-switch.0 2020-10-06 00:08:14.715 info (24846) result {"power":0,"Ws":0,"relay":false,"temperature":11.75}
mystrom-wifi-switch.0 2020-10-06 00:08:14.607 info (24846) Fetching http://192.168.1.220/report
mystrom-wifi-switch.0 2020-10-06 00:08:14.606 info (24846) checkstates url http://192.168.1.220

Please add you adapter to our repository

We saw your adapter and if it is ready please request that it is added to the repository. With this it becomes available for all users. Please consult https://github.com/ioBroker/ioBroker.repositories#add-a-new-adapter-to-the-latest-repository and the following sections for more details.
If you need help, contact us in the forum https://forum.iobroker.net/ or in the developer chat https://github.com/iobroker-community-adapters/info .

Thank you for your support.

Switch schaltet ab

Guten Tag

Wird beim Objekt "total_energy" der Wert manuell auf 0 zurück gesetzt, dann schaltet der Switch beim nächsten Abfrageintervall einfach aus. Der Switch muss dann manuell wieder eingeschaltet werden.

Freundliche Grüsse

Problem mit Firmware Version 3.82.57

MyStrom Switch mit Firmware Version 3.82.57 können keine Verbindung mit dem Adapter (2.0.7 und 2.0.8) mehr herstellen. Status bleibt gelb. Fehlermeldung im Log "(56462) Error while fetching /report: 404"

Datenpunkte wenn keine Verbindung

Geht die Verbindung zum Wifi Switch verloren (z.B. keine Verbindung, ausgesteckt, usw.), dann bleiben sämtliche Dstenpunkte auf dem letzten Stand.

In der vis ist so nicht ersichtlich, ob noch eine Verbindung besteht.
Ich habe meinen Wifi Switch vor 1 Woche ausstecken müssen, seither wird der Momentanverbrauch und die Temperatur unverändert angezeigt.

Not working

Hello

I've installed 2 Instances, but i got no Informations:

image

reload of Instance:

mystrom-wifi-switch.0 2020-06-07 09:29:09.088 info (28664) setting interval to 15 seconds
mystrom-wifi-switch.0 2020-06-07 09:29:09.073 info (28664) Fetching http://192.168.1.90/report
mystrom-wifi-switch.0 2020-06-07 09:29:08.868 info (28664) starting. Version 2.0.1 in /opt/iobroker/node_modules/iobroker.mystrom-wifi-switch, node: v12.16.3
host.raspberrypi 2020-06-07 09:29:07.033 info instance system.adapter.mystrom-wifi-switch.0 started with pid 28664
host.raspberrypi 2020-06-07 09:29:05.049 info instance system.adapter.mystrom-wifi-switch.0 terminated with code 156 (156)
host.raspberrypi 2020-06-07 09:29:05.049 error Caught by controller[3]: (node:21718) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by
host.raspberrypi 2020-06-07 09:29:05.048 error Caught by controller[3]: at processTimers (internal/timers.js:492:7)
host.raspberrypi 2020-06-07 09:29:05.048 error Caught by controller[3]: at listOnTimeout (internal/timers.js:549:17)
host.raspberrypi 2020-06-07 09:29:05.048 error Caught by controller[3]: at Timeout.checkStates [as _onTimeout] (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:124:16)
host.raspberrypi 2020-06-07 09:29:05.048 error Caught by controller[3]: at __awaiter (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:7:12)
host.raspberrypi 2020-06-07 09:29:05.048 error Caught by controller[3]: at new Promise ()
host.raspberrypi 2020-06-07 09:29:05.047 error Caught by controller[3]: at /opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:11:71
host.raspberrypi 2020-06-07 09:29:05.047 error Caught by controller[3]: at Generator.next ()
host.raspberrypi 2020-06-07 09:29:05.047 error Caught by controller[3]: at Timeout. (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:125:37)
host.raspberrypi 2020-06-07 09:29:05.047 error Caught by controller[3]: (node:21718) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'url' of undefined
host.raspberrypi 2020-06-07 09:29:05.046 error Caught by controller[2]: (node:21718) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by
host.raspberrypi 2020-06-07 09:29:05.046 error Caught by controller[1]: at processTimers (internal/timers.js:492:7)
host.raspberrypi 2020-06-07 09:29:05.046 error Caught by controller[1]: at listOnTimeout (internal/timers.js:549:17)
host.raspberrypi 2020-06-07 09:29:05.046 error Caught by controller[1]: at Timeout.checkStates [as _onTimeout] (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:124:16)
host.raspberrypi 2020-06-07 09:29:05.045 error Caught by controller[1]: at __awaiter (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:7:12)
host.raspberrypi 2020-06-07 09:29:05.045 error Caught by controller[1]: at new Promise ()
host.raspberrypi 2020-06-07 09:29:05.045 error Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:11:71
host.raspberrypi 2020-06-07 09:29:05.044 error Caught by controller[1]: at Generator.next ()
host.raspberrypi 2020-06-07 09:29:05.044 error Caught by controller[1]: at Timeout. (/opt/iobroker/node_modules/iobroker.mystrom-wifi-switch/build/main.js:125:37)
host.raspberrypi 2020-06-07 09:29:05.043 error Caught by controller[1]: (node:21718) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'url' of undefined
mystrom-wifi-switch.0 2020-06-07 09:29:04.509 info (21718) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
mystrom-wifi-switch.0 2020-06-07 09:29:04.507 info (21718) terminating
mystrom-wifi-switch.0 2020-06-07 09:29:04.507 info (21718) cleaned everything up...
mystrom-wifi-switch.0 2020-06-07 09:29:04.504 info (21718) Got terminate signal TERMINATE_YOURSELF
host.raspberrypi 2020-06-07 09:29:04.498 info stopInstance system.adapter.mystrom-wifi-switch.0 send kill signal
host.raspberrypi 2020-06-07 09:29:04.490 info stopInstance system.adapter.mystrom-wifi-switch.0 (force=false, process=true)

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.