boergegrunicke / iobroker.govee-local Goto Github PK
View Code? Open in Web Editor NEWGovee-Local
License: MIT License
Govee-Local
License: MIT License
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
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.
ERRORS:
WARNINGS:
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
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.
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
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?
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!
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.
After setting the level the Kelvin is set to the same value which is a bug. It changes Kelvin where it's not meant to be.
only happen ins 0.25 the latest.
Thank you
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
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.
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.
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.
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
Adapter spammt das Log voll seit update auf Version 0.2.0 mit "Suche Gerät"
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...
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:
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ß
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.