Giter Club home page Giter Club logo

iobroker.lametric's Introduction

YouTube Channel Subscribers YouTube Channel Views GitHub followers GitHub User's stars

My name is Matthias Kleine.

Self-employed trainer and software developer based in Paderborn, Germany.

💬 Ask me about Smart Home and Building automation

klein0r

ioBroker

Forum

2910 posts (208 last month, 67 this month), 22 topics - follow me

ioBroker adapter list (my adapters)

Adapter Beta-Version Stable-Version Installations Weekly Downloads Issues
Trash Schedule Trash Schedule 3.3.0
15 days ago
3.2.0 11652 461 6
OctoPrint OctoPrint 5.1.0
200 days ago
5.1.0 2761 48 6
Awtrix 3 (Awtrix Light) Awtrix 3 (Awtrix Light) 1.1.0
2 days ago
0.16.0 1821 220 10
Luftdaten Luftdaten 3.1.0
200 days ago
3.1.0 1677 23 1
Birthdays Birthdays 2.4.1
195 days ago
2.4.1 1403 28 3
YouTube YouTube 5.0.0
40 days ago
5.0.0 403 47 1
LaMetric Time LaMetric Time 3.1.3
102 days ago
3.1.3 403 8 5
Gira IoT Gira IoT 0.5.0
46 days ago
0.5.0 257 55 2

ioBroker adapter list (heavy contribution)

Adapter Beta-Version Stable-Version Installations Weekly Downloads Issues
Script Engine Script Engine 8.3.0
4 days ago
7.8.0 55799 5100 105
Shelly Shelly 7.0.0
14 days ago
6.9.0 29478 3466 35
Node-RED Node-RED 5.2.1
15 days ago
5.2.1 15154 1457 28
PV-Forecast PV-Forecast 2.9.1
147 days ago
2.9.1 5885 132 5
Statistics for states Statistics for states 2.4.0
192 days ago
2.4.0 3669 65 3

ioBroker Master Kurs

iobroker.lametric's People

Contributors

alcalzone avatar anunezde avatar apollon77 avatar bondrogeen avatar dependabot[bot] avatar dfrozen avatar germanbluefox avatar instalator avatar jarves020 avatar jey-cee avatar klein0r avatar ldittmar81 avatar pmant avatar sigi74 avatar twonky4 avatar

Stargazers

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

Watchers

 avatar  avatar

iobroker.lametric's Issues

Feature request: Use states for the icon.

Be able to use states in curly braces for the Icon.

E.g in a text state (0_userdata.0.TrashInfo.TrashIcon) is written down "i11977" and the user is able to write inside the icon column "{0_userdata.0.TrashInfo.TrashIcon}" (without quotes)

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/klein0r/ioBroker.lametric

  • [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.lametric"

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 your adapter to ioBroker.discovery

I am an automatic service from ioBroker that searches adapters and makes suggestions.

I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.

Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.

Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.

Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.

On questions, the other developers will support in the forum or via GitHub issues too.

If no detection is possible, simply close this issue and I won't bother you again. ;-)

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

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

problem mit lautstärke

hey vielen dank für deinen tollen adapter

mir ist seit einiger zeit aufgefallen das ich es probleme mit dem setzen der lautstärke gibt
ich habe ein wöchentliches skript das die lautstärke meiner zwei lametrics auf einen gewissen level setzt damit sie immer gleich laut sind.

da ist mir aufgefallen das ich immer eine fehlermeldung bekomme
lautstärke änderungen - manuell bei den datenpunkten - werden auch nicht bestätigt.

folgende fehlermeldung bekomme ich

(1880) received error 500 response from /api/v2/device/audio with content: {"errors":[{"message":"Audio state error putting settings Unknown error"}]} --

Eigene Datenpunkte werden via DIY nicht angezeigt

Hi, ich habe via DIY schon einiges im Adapter eingetragen und alles funktioniert wunderbar.

Sobald ich allerdings etwas aus meinen eigenen Datenpunkten in DIY im Adapter Einträge, zeigt es nur den Pfad auf der Lametric Time an. In meinem Beispiel läuft dann immer: {0_userdata.0.Gerãte.Crypto.IOTAEUR} durch, anstatt der Zahlenwert.

Egal welchen Datenpunkt aus 0_userdata.0 ich wähle, passiert immer das gleiche. Sobald ich einen anderen Datenpunkt Einträge, wird dieser komplett ausgelesen und angezeigt.

Error Message after installing JS Controller 3.3 und ioBroker 5.1.23 "authorization"

Describe the bug
after updating ioBroker und JS Controller and lametric Adapter to the newest version I get this error message in my protocol:

received error 401 response from /api/v2/device/display with content: {"errors":[{"message":"Authorization is required"}]}

The adapeter does not go to status green, the 3rd bullet point "Connection to equipment or service" does not work.
that's y I get a yellow triangle as icon with an exclanation mark inside.

Of course I recognized the hint of kleinER to renew the API key after updating to the new version of lametric adapter.
so I logged in to lametric Website and copied my API key again and inserted it in the field of lametric adapter. I could see the the old key got corrupt so it was really necessary to do this.

I also checked all entires in the simple api adapter where I have a user "lametric" with passwort, who is still there
All data looks good as before.

All worked well before the Updates, now theres something wrong, pls help or fix the problem

Versions:

  • Adapter version: 1.3.2
  • JS-Controller version: 3.3.15
  • Node version: 14.17.5
  • Operating system: pi4, buster lite, ioBroker 5.1.23

My Data (DIY) - LaMetric displays only the string, not the data value

Hello Matthias,

I'd like to show the outdoor temperature onto my LaMetric device.

Therefore I install and configure the LaMetric- and Simple API adapter exactly as shown into your youtube video :-)

After I saved my settings and restarted both adapter, my LaMetric only display the value as string/text: {hm-rpc.1.000ED709B282BC.1.ACTUAL_TEMPERATURE}, but not the value itself (for example: -1 °C) !?

Here's my config...

From my LaMetric-Adapter "My Data (DIY)" tab:

Icon Text
i2355 {hm-rpc.1.000ED709B282BC.1.ACTUAL_TEMPERATURE} °C

My Simple API url replay this in browser:
{"frames":[{"text":"{hm-rpc.1.000ED709B282BC.1.ACTUAL_TEMPERATURE} °C","icon":"i2355"}]}

Do I something wrong? Thank's in advance

Versions:

  • LaMetric Adapter version: 1.2.0
  • Simple API Adapter version: 2.5.3
  • JS-Controller version: 3.2.16
  • Node version: 12.20.1
  • Operating system: Debian 10.8

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/klein0r/ioBroker.lametric

  • [E114] No adapter are allowed in the repo without admin3 support

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

  • [W801] .npmignore not found

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

Variable an lametric

Wenn ich eine Variable mit Blockly an lametric sende (wie ich es bei Telegram auch mache) zeigt das Lametric-gerät nicht den Vert der Variablen an sondern die Variable selbst.

Error : Status Code: 400 / Content: [object Object]

Hallo zusammen,

Egal welchen Inhalt ich an die LaMetric schicken möchte, ich bekomme im Logfile folgende Fehlermeldung: Status Code: 400 / Content: [object Object]

IP Adresse und API Key wurde erfolgreich hinterlegt, und die Instanz zeigt das die LaMetric erreichbar ist:

Verbunden mit Host: wahr
Lebenszeichen: wahr
Verbunden mit lametric: wahr

Hier ein Auszug aus dem Logfile:

lametric.0 | 2018-07-11 18:19:32.584 | error | Status Code: 400 / Content: [object Object]
lametric.0 | 2018-07-11 18:19:32.517 | info | sending request to  http://192.168.177.21:8080/api/v2/device/notifications with data:  {"priority":"warning","icon_type":"none","lifeTime":3000,"model":{"frames":[{"icon":"'a647'","text":"([getState(\"
lametric.0 | 2018-07-11 18:19:32.517 | info | message  {"priority":"warning","icon_type":"none","lifeTime":3000,"model":{"frames":[{"icon":"'a647'","text":"([getState(\"spotify-premium.0.playbackInfo.artistName\").val,'  - ',getState(\"spotify-pre
lametric.0 | 2018-07-11 18:19:32.517 | info | received message

Feature Request: chance device mode

Hallo

Ich bin mir zwar nicht ganz sicher ob das gehen könnte.
Aber es wäre toll via iobroker den Mode zu ändern. Meine LaMetric läuft immer im Auto Modus ich würde sie aber sehr gerne unter Umständen auf Kiosk und dann die dark App aktivieren.

Ich habe in der api Doku nachgesehen dort steht aber nur was von get device Mode. Vl könntest du ja mal reinschauen. Wäre toll.

im blockly kann keine variable als text eingefügt werden

bin gerade dabei meine skripte auf dein plugin umzustellen.

dabei ist mir aufgefallen ich kann beim blocky keine variable als text anhängen.

also wenn ich versuche meine text variable an die Meldung zu knüpfen wird das nicht akzeptiert. ich kann nicht das nicht speichern und beim neu laden ist die variable nicht verbunden.
Bildschirmfoto 2019-10-25 um 17 16 39

Feature Request: MyData DIY

The problem

Time per frame in MyData DIY
Möglichkeit einer Zeitangabe wie lange der einzelne Frame angezeigt wird
Beispiel:
Frame1 Humidity 4000ms
Frame2 Temperature 4000ms
Frame3 Status Garage 10s

Werte Formatieren:
{Eigene.0.Binding;round}
{Eigene.0.Binding;round(2)}
usw...
Siehe: Link

Beispiel:
Frame1 Luftfeuchte {deconz.0.Sensors.24.humidity:round}%

Grüßle
Pascal

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/klein0r/ioBroker.lametric

  • [E815] file tsconfig.json found in repository, but not found in .npmignore

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

blockly defekt mit script engine 4.7.1

seit dem heutigen update auf script engine 4.7.1 bekomme ich bei allen blocklies die sendto befehle an die lametric benutzen fehlermeldung "cannot extract blockly code"

dies betrifft nur blocklies mit denen ich die lametric ansteuere.
außerdem kann ich die sendto blöcke nicht mehr verwenden, lassen sich nicht aufklappen bzw sind leer.
Anmerkung 2020-09-05 235337

Simple.api https does not work

Hi,

as soon as I switch to HTTPS in the simple.api adapter my lametric time does not get info from the lametric adapter anymore.
Blockly notifications still can be displayed.

In the iOS app I have for sure changed the link to https://....

Same happens when I turn off HTTPS and turn on authentication.
Blockly works, but the adapter internal push stops working

Simple.api 2.5.2
Lametric 1.2.0

Konfiguration des Adapters nach Update auf 2.0.0 nicht möglich - Fehler Admin 5 erwartet

The problem

Nach dem Update des Adapters auf 2.0.0 erscheint auf der Konfigurationsseite folgende Fehlermeldung:
"This adapter version has no support for "Admin 4" configuration. Please switch to "Admin 5" UI or downgrade to an older version (see changelog for details). "

Installiert sind:
Admin 5.3.8
JS Controller 4.0.23
Node.js v14.9.3
npm 6.14.17

Version of nodejs

14.9.3

Version of ioBroker js-controller

4.0.23

Version of Adapter

2.0.0

Operating system running ioBroker

Raspbian GNU/Linux 10

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

No response

Adapter doesn't turn green

hi!

im running iobroker on a raspi 3. node 4.7.
ive entered ip and api key correctly.
adapter only turns yellow.

what can i do?

thx,

and

Please check ioBroker.lametric 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.

"Developer Token" => Api Key

The problem

"Developer token" should be renamed into "Api Key".
I made an error and entered "Access token:"
image

instead of API Key
image

Version of ioBroker js-controller

3.3.19

Version of Adapter

1.5.1

Operating system running ioBroker

Debian

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

no logs required

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/klein0r/ioBroker.lametric

  • [E114] No adapter are allowed in the repo without admin3 support

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

  • [W801] .npmignore not found

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

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!

Type issue with js-controller 3.3

With update to js-controller 3.3 I get periodically several error messages from lametric 1.3.2 like this:

State value to set for "lametric.0.mydatadiy.obj" has to be type "string" but received type "object"

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

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!

Adapter verbindet sich nicht

Wir versuchen, die Lametric mit dem Adapter zu verbinden.
Die IP-Adresse haben wir in der Form: http://xxx.xxx.xxx.xx und auch in der Form xxx.xxx.xxx.xx ausprobiert
Als Entwickler-Token haben wir, wie in der Anleitung angegeben, den Api Key eingegeben.
Leider funktioniert das so nicht.
Die Instanzen-Anzeige bleibt gelb, dort steht unter Verbunden mit Lametric: falsch
Sorry für die banale Frage aber wir kommen nicht weiter.

Muss für die Anbindung in den IOBroker ein Entwickler-Token angefordert werden? und wenn ja, wie?

Danke im Voraus

helligkeitswerte passen nicht

hey

da ich gerade an einem skript arbeite und mir dabei die history werte angeschaut habe. habe ich entdeckt das die helligskeitswerte nicht protokolliert werden.

dH meine lametrics laufen immer im auto modus, da eine genau unter einer led ist und sonst immer volle helligkeit macht wollte ich jetzt die helligkeit manuel regel - das funktioniert auch.

dabei habe ich aber festgestellt das wenn der auto modus läuft keine realen werte eingetragen werden sondern immer der letzte.

zB bei der einen steht IMMER 100% drin - tag und nacht jeden tag - kann nicht sein.
bei der zweiten steht immer 2 % drin - auch jeden tag, jede nacht, jede stunde (übertrieben aber jeder datensatz)

LaMetric Time does not show data

The problem

LaMetric Time does not show the data it fetches from ioBroker from mydatadiy.obj.
In Browser the data is displayed to me.

Version of nodejs

14.19.1

Version of ioBroker js-controller

6.14.16

Version of Adapter

1.6.0

Operating system running ioBroker

Linux (Raspberry Pi 4)

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

LaMetric

After update to 1.3.0 no connection to device or service

Hallo,

nach update to Adapter Version 1.3.0 bekommt der Adapter keine Verbindung zum Device or Service.
Das Token hatte kryptische Symbole und wurde von mir erneuert, jedoch keine Besserung.

Anbei ein Debug log vom Adapter:

lametric.0 2021-05-05 16:26:21.260 warn received error 401 response from /api/v2/device/apps with content: {"errors":[{"message":"Authorization is required"}]}
lametric.0 2021-05-05 16:26:21.258 warn received error 401 response from /api/v2/device/display with content: {"errors":[{"message":"Authorization is required"}]}
lametric.0 2021-05-05 16:26:21.256 warn received error 401 response from /api/v2/device with content: {"errors":[{"message":"Authorization is required"}]}
lametric.0 2021-05-05 16:26:21.248 info State value to set for "lametric.0.mydatadiy.obj" has to be type "string" but received type "object"
lametric.0 2021-05-05 16:26:21.236 debug My Data (DIY) frame update to []
lametric.0 2021-05-05 16:26:21.235 debug My Data (DIY) refresh output state with config []
lametric.0 2021-05-05 16:26:21.235 debug My Data (DIY) found foreign states: []
lametric.0 2021-05-05 16:26:21.224 debug My Data (DIY) found 0 dynamic states
lametric.0 2021-05-05 16:26:21.223 debug My Data (DIY) collecting states
lametric.0 2021-05-05 16:26:21.223 debug re-creating refresh app timeout
lametric.0 2021-05-05 16:26:21.223 debug sending "GET" request to "/api/v2/device/apps" with data: null
lametric.0 2021-05-05 16:26:21.222 debug re-creating refresh state timeout
lametric.0 2021-05-05 16:26:21.222 debug sending "GET" request to "/api/v2/device/display" with data: null
lametric.0 2021-05-05 16:26:21.221 debug sending "GET" request to "/api/v2/device" with data: null
lametric.0 2021-05-05 16:26:21.220 debug refreshing device state
lametric.0 2021-05-05 16:26:21.208 info starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.lametric, node: v14.16.1, js-controller: 3.3.8
lametric.0 2021-05-05 16:26:21.095 debug Plugin sentry Initialize Plugin (enabled=true)

"verstecke Wert wenn" funktioniert nicht?

The problem

Hallo Matthias! Bin begeisterter Nutzer/Abonnent/Kunde von hausautomatisierung.com und nutze Deinen Adapter in IOBroker für die Lametric. Ich zeige mir diverseste Werte auf der Lametric an, darunter auch den aktueller Ertrag der PV-Anlage. Dieser ist aber dann am Abend natürlich "0", deshalb möchte ich mir den Werte auch ausblenden lassen. Jedoch egal was ich in der Spalte "verstecke Wert wenn" eintrage wird immer dann der "0"-Wert angezeigt ... Mach ich was falsch? In der Doku steht zu dem PUnkt leider nichts ...
BG
David

Version of nodejs

14.1

Version of ioBroker js-controller

3.3.2

Version of Adapter

1.5.2

Operating system running ioBroker

Debian

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

No response

Warning message in iobroker Log after update to new JS Controller

Hallo,

nach Umstellung auf die Beta Admin Oberfläche und update auf den JS Controller 3.3x gibt der Adapter ständig folgende Fehlermeldungen:

lametric.0 2021-05-03 13:36:04.923 warn State value to set for "lametric.0.meta.display.screensaver.modes.timeBased.endTime" has wrong type "undefined" but has to be "string"
lametric.0 2021-05-03 13:36:04.923 warn State value to set for "lametric.0.meta.display.screensaver.modes.timeBased.startTime" has wrong type "undefined" but has to be "string"

Lt. Forum soll es an den Entwickler gemeldet werden

Siehe auch:
https://forum.iobroker.net/topic/44624/js-controller-3-3-jetzt-im-latest

Danke!

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!

No Massage Icons

Lametric do not show the Massage icons:

false format: "icon":"'8146'","text":"das ist ein test"
true format: "icon":"8146","text":"das ist ein test"

Error 400 response in automatic screensaver mode when info messages are sent

When Lametric is currently in automatic screensaver mode, sent info messages always result with warning:

received error 400 response from /api/v2/device/notifications with content: {"errors":[{"message":"Only notifications with priority 'critical' are allowed in current mode"}]}

The reason for this is the LaMetric API:
https://lametric-documentation.readthedocs.io/en/latest/reference-docs/device-notifications.html

This notification will not be shown when screensaver is active.

However, it would be nice if you could query the current status of whether the screensaver is active in auto mode to avoid these warnings. Another option would be to not forward the message to the device at all.

Versions:

  • Node.js v12.22.1
  • NPM 6.14.12
  • JS-Controller 3.3.11
  • Plattform: linux
  • ioBroker: v5.1.7

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.