Giter Club home page Giter Club logo

iobroker.govee-local's Issues

Update stable version in repo from 0.2.5 to 0.2.6

Think about update stable version to 0.2.6

Version: stable=0.2.5 (54 days old) => latest=0.2.6 (30 days old)
Installs: stable=467 (61.13%), latest=105 (13.74%), total=764

Click to use developer portal
Click to edit

Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot

Dear adapter developer,

I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter govee-local for common errors and appropiate suggestions to keep this adapter up to date.

Please see the result of the check below.

ioBroker.govee-local

Downloads Number of Installations (latest) Number of Installations (stable) - Test and Release
NPM

ERRORS:

  • ❗ [E162] js-controller 4.0.0 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
  • ❗ [E204] Versions "0.2.3, 0.2.2" listed at common.news at io-package.json do not exist at NPM. Please remove from news section.

WARNINGS:

  • 👀 [W034] @iobroker/adapter-core 3.1.4 specified. 3.1.6 is recommended. Please consider updating dependencies at package.json
  • 👀 [W040] "keywords" within package.json should contain "ioBroker"
  • 👀 [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.

Please review issues reported and consider fixing them as soon as appropiate.

Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.

Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.

Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that an issue is incorrectly flagged.

And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.

your
ioBroker Check and Service Bot

@mcm1957 for evidence

Namen werden nicht angezeigt

Hallo,

es werden leider keine Namen angezeigt, also wenn man sehr viele Geräte hat, ist es unmöglich da den Überblick zu behalten. Vielleicht gibt es ja eine Lösung dafür. Ich mache mir im Moment immer eine neue Variable in dem Ordner mit dem Namen der Lampe.

cannot delete adapter

unfortunately my devices are not supported by the local api, so I have to uninstal the adapter.
However this doesn't work.
`$ iobroker del govee-local --debug

Delete adapter "govee-local"

Error deleting adapter govee-local from disk: Cannot find module 'iobroker.govee-local/io-package.json'Require stack:- /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupInstall.js- /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupUpgrade.js- /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js- /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js

You might have to delete it yourself!

Process exited with code 0`

ioBroker is up to date.
Node.js v18.16.0
NPM 9.5.1
Admin 6.12.0

Node Error

Hi,

i am running ioBroker on my Synology NAS with Node.js: v18.19.0.

I couldn't find my H5179 devices like mentioned here. So i tried the latest GitHub Release but those errors came up:


2024-01-18 13:38:38.917 - error: host.buanet-iobroker-1 Caught by controller[0]: node:internal/modules/cjs/loader:1137
--
2024-01-18 13:38:38.917 - error: host.buanet-iobroker-1 Caught by controller[0]: throw err;
2024-01-18 13:38:38.917 - error: host.buanet-iobroker-1 Caught by controller[0]: ^
2024-01-18 13:38:38.917 - error: host.buanet-iobroker-1 Caught by controller[0]: Error: Cannot find module './tools/hexTool'
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: Require stack:
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.govee-local/build/main.js
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:975:27)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.govee-local/build/main.js:22:22)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: code: 'MODULE_NOT_FOUND',
2024-01-18 13:38:38.918 - error: host.buanet-iobroker-1 Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.govee-local/build/main.js' ]
2024-01-18 13:38:38.919 - error: host.buanet-iobroker-1 Caught by controller[0]: }
2024-01-18 13:38:38.919 - error: host.buanet-iobroker-1 Caught by controller[0]: Node.js v18.19.0
2024-01-18 13:38:38.919 - error: host.buanet-iobroker-1 instance system.adapter.govee-local.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

Which Node Version is required?

Update stable version in repo from 0.0.0 to 0.1.2

Think about adding version 0.1.2 to stable repository.

Version: stable=0.0.0 (0 days old) => latest=0.1.2 (30 days old)
Installs: stable=0 (0%), latest=38 (77.55%), total=49

Click to use developer portal
Click to edit

Note: This is an automatically generated message and not personally authored by bluefox!

Govee erscheint nicht

Hallo,

hab bei meinem Govee LED Strip die Option "LAN Steuerung" aktiviert.
Aber er erscheint nicht im Adapter. Muss ich da noch irgendwas einstellen?

Vielen Dank.

I see no govee objects after adapter installation

Hello, I am quite new with iobroker and currently struggeling with the goove-local adapter. I have installed adapter version 0.2.5 and I have as well switched on the LAN-Steuerung inside the govee App for my device H619A. The control via the app works well but I do not know how to add the device to iobroker. I think I need to add somewhere in the adapter my govee password. But where? In the adapter instance there is more or less nothing to add or midify. Under objects, I have govee-local with the 0-info-connectoin tree but no device or content. I hope it is easy and I am just blind. Thanks in advance

govee2mqtt

Hallo

und erstmal vielen Dank für deinen Adapter. Bevor ich mich für Govee Leds entschieden hatte hab ich viel recherchiert und musst staunen das es fürn iobroker nicht viel gibt obwohl die Leds ja sehr beliebt sind, günstig und weit verbreitet.

hab dann den https://github.com/TA2k/ioBroker.govee-app Adapter gefunden und mich gewundert, wird schon länger nicht mehr gewartet und scheint jetzt recht tot zu sein. dann hab ich deinen adapter gefunden und mich erst sehr gefreut aber musste recht schnell feststellen das die lokale api seitens govee doch sehr beschränkt ist.

nach meiner weiteren Recherche hab ich das hier gefunden https://github.com/wez/govee2mqtt
find ich sehr genial und wollte dich mal auf dieses Projekt aufmerksam machen vl kann man das ja weiter nutzen für den Ausbau von diesen adapter.

statt das auf mqtt umzumodeln usw könnte man das ganze dann ja direkt in den broker einbauen. ich bin selbst nicht mehr Entwicklung tätig, daher ist es jetzt einfach mal großes reden. aber vl kanntest du dieses Projekt noch nicht und weckt dein Interesse.

Version 0.2.0 ohne onOff -Funktion

v0.2.0 komplett unbenutzbar. Beim setzen von onOff auf true im Objekt-Browser(Admin) wird der Wert erst auf true geändert und nach Ablauf der scan-Zeit zurück gesetzt auf false. Die LED-Strips bleiben aus. Umgekehrt das gleiche. Wenn ich über die App(Handy) den Strip einschalte, kann der ioBroker ihn nicht ausschalten.
Keine Meldungen im Log ausser send scan (nach eingestelltem Interval z.Z. 60s)
Habe 2x LED-Strip H619A und 1x H6159
Die Version 0.1.2 läuft ohne Problem.

Setting colortemperature does not work

Hi,

when I try to set the color temperature the adapter will return the old value and nothing happens.

A look in your code shows:

case 'colorTemInKelvin': const colorTempMessage = { msg: { cmd: 'colorTemInKelvin', data: { value: state.val } } }; const colorTempMessageBuffer = Buffer.from(JSON.stringify(colorTempMessage)); client.send(colorTempMessageBuffer, 0, colorTempMessageBuffer.length, CONTROL_PORT, receiver); break; case 'color': const colorValue = state.val?.toString(); if (colorValue) { const rgb = hexToRgb(colorValue); const colorMessage = { msg: { cmd: 'colorwc', data: { color: rgb } } }; const colorMessageBuffer = Buffer.from(JSON.stringify(colorMessage)); client.send(colorMessageBuffer, 0, colorMessageBuffer.length, CONTROL_PORT, receiver); } break;

Regarding the poor API doc it does not list a cmd called colorTemInKelvin it only offers colorwc.

https://app-h5.govee.com/user-manual/wlan-guide

image

feature request: RGB value instead of 3 separate values

Hi,

the adapter currently only supports 3 separate values for r, g and b and this is not really working in any other adapter.
Would it be possible to make the adapter at least compatible with "light control"?
That would mean to have one read/write value for the color that translates it into the separate values for the lights.
Thomas

Log-Spam

Adapter spammt das Log voll seit update auf Version 0.2.0 mit "Suche Gerät"

H705B - Govee RGBIC Permanent Outdoor Lights

Feature / include request:

Please include device: "H705B - Govee RGBIC Permanent Outdoor Lights"

after switching on the LAN support of the device, the report shows:

govee-local.0 | 2023-12-15 18:33:09.145 | silly | States system redis pmessage system.adapter.govee-local.0.logLevel/system.adapter.govee-local.0.logLevel:{"val":"silly","ack":true,"ts":1702661589143,"q":0,"from":"system.adapter.govee-local.0","lc":1702661447942}
govee-local.0 | 2023-12-15 18:33:09.142 | debug | UDP listening on 0.0.0.0:4002
govee-local.0 | 2023-12-15 18:33:09.132 | info | starting. Version 0.1.2 in PATH.../iobroker.govee-local, node: v18.17.0, js-controller: 4.0.24
govee-local.0 | 2023-12-15 18:33:08.985 | silly | statesDB connected
govee-local.0 | 2023-12-15 18:33:08.984 | debug | States connected to redis: 127.0.0.1:9000
govee-local.0 | 2023-12-15 18:33:08.962 | debug | States create User PubSub Client
govee-local.0 | 2023-12-15 18:33:08.962 | debug | States create System PubSub Client
govee-local.0 | 2023-12-15 18:33:08.949 | debug | Redis States: Use Redis connection: 127.0.0.1:9000
govee-local.0 | 2023-12-15 18:33:08.948 | silly | objectDB connected
govee-local.0 | 2023-12-15 18:33:08.946 | silly | redis psubscribe cfg.o.enum.*
govee-local.0 | 2023-12-15 18:33:08.931 | silly | redis psubscribe cfg.o.system.user.*
govee-local.0 | 2023-12-15 18:33:08.930 | debug | Objects connected to redis: 127.0.0.1:9001
govee-local.0 | 2023-12-15 18:33:08.926 | debug | Objects client initialize lua scripts
govee-local.0 | 2023-12-15 18:33:08.860 | debug | Objects create User PubSub Client
govee-local.0 | 2023-12-15 18:33:08.860 | debug | Objects create System PubSub Client
govee-local.0 | 2023-12-15 18:33:08.859 | debug | Objects client ready ... initialize now
govee-local.0 | 2023-12-15 18:33:08.832 | debug | Redis Objects: Use Redis connection: 127.0.0.1:9001
govee-local.0 | 2023-12-15 18:33:05.301 | info | Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
govee-local.0 | 2023-12-15 18:33:05.300 | info | terminating
govee-local.0 | 2023-12-15 18:33:05.300 | info | Got terminate signal TERMINATE_YOURSELF
govee-local.0 | 2023-12-15 18:33:05.299 | silly | States system redis pmessage system.adapter.govee-local.0.sigKill/system.adapter.govee-local.0.sigKill:{"val":-1,"ack":false,"ts":1702661585300,"q":0,"from":"HOST","lc":1702661585300}

The objecttree is nearly empty.. (admin / 0-info-connection (true) ) nothing else.

i can support with logs and tests if needed...

Feedback: Smart Curtain Lights is found

Describe the bug
No Bug, just a feedback.

I have installed the iOS app and the light curtain was found by BLE. Then activated Wifi and enabled 'LAN Steuerung'.
The adapter could find the device and the objects are shown in ioBroker.

The number of datapoints are only a subset as for your Govee light. Is it possible to control the effects and other settings? Is there a documented API?
Anyway, thanks for this adapter.

Expected behavior
everything is fine

Versions:

  • Adapter version:
  • JS-Controller version: 5.0.17
  • Node version: v18.18.2
  • Operating system: ubuntu 22.04

keine Verbindung zwischen ioBroker und Govee H7065

Hi,

ich hoffe Du kannst mir ein bischen mehr Klarheit in die Kommunikation von den Govee Geräten geben. Ich habe das Problem, dass sich scheinbar der ioBroker und der H7065 nicht sehen.
Wie sollte die Kommunikation für gewöhnlich laufen?
Was habe ich bereits gemacht?
Ich habe mir die Govee Home App auf mein Smartphone installiert und per Bluetooth mich mit dem Govee Gerät verbunden. Im weiteren habe ich die WLAN Einstellungen angepasst und den Schalter der "Lan Steuerung aktiviert". Mit der App funktioniert alles super, auch wenn man Bluetooth abschaltet und nur über WLAN kommuniziert. Aber ist kein Internet vorhanden, dann ist nichts mehr möglich (aber das interessiert ja nicht mit Deinem Adapter). Mein Smartphone und das Govee Gerät sind im gleichen WLAN (und IP-Netz).
Im ioBroker habe ich den Adapter installiert.
Ich benutze für die Kommunikation zwei unterschiedliche IP Netze Ein Hausautomations-LAN und ein Hausautomations-WLAN), die keinen Internetzugang haben. Der ioBroker auf meinem Raspi4, 2 GB (alles soweit von der softwareseite aktualisiert) ist per Ethernet (LAN Kabel verbunden)
Ich habe erfahren, dass Govee ausschließlich UDP für die Kommunikation benutzt. Ist das richtig? Ich habe daraufhin mal ein Powershell Script auf meinem Windows PC geschrieben, welcher im gleichen WLAN Netz, wie das Govee Gerät ist und habe mal eine UDP-Message an den ioBroker (im anderen IP Netz) geschickt. Dieses konnte ich im Debug Log des ioBroker zu sehen. Somit funktioniert scheinbar die UDP Verbindung.
Jetzt komme ich allerdings nicht weiter. Hast Du da noch eine Idee woran es liegen könnte, dass das Govee Gerät nicht im iobroker sichtbar wird? Muss irgendetwas noch im Gerät konfiguriert oder initiert werden, damit Govee irgendwas an ioBroker sendet?
Vielen Dank schon mal vorab für Diene Hilfe.

Gruß

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.