homebridge-govee icon indicating copy to clipboard operation
homebridge-govee copied to clipboard

H6104 Video Mode Bluetooth Code

Open HJ2k opened this issue 3 years ago • 22 comments

Great plugin, thank you! My question is if it's possible to select 'video' mode in Govee H6104 in homekit instead of just selecting a specific color temperature?

HJ2k avatar Nov 13 '21 02:11 HJ2k

Hi @HJ2k

You may find this wiki article helpful, you might find the video mode can be accessed using a custom scene:

https://github.com/bwp91/homebridge-govee/wiki/Scene%2C-Music%2C-DIY-Modes

bwp91 avatar Nov 13 '21 07:11 bwp91

Thanks!

HJ2k avatar Nov 15 '21 19:11 HJ2k

I tried following the wiki article but it looks like the mode that I need which is 'Video' only works in bluetooth mode so I can't get the code for it.

I didn't see video mode in the h6127's code listed. My govee's video mode uses a camera to analyze the images on the screen and mimics those colors on the light strip in real time.

If you have any other suggestions I'd be happy to try them out and share my findings with the community. Thanks!

HJ2k avatar Nov 15 '21 19:11 HJ2k

I tried following the wiki article but it looks like the mode that I need which is 'Video' only works in bluetooth mode so I can't get the code for it.

So if you disable the bluetooth on your phone to force the light to connect to wifi, you cannot change to this mode?

bwp91 avatar Nov 16 '21 01:11 bwp91

Correct. As soon as I disable bluetooth the video mode button disappears.

HJ2k avatar Nov 16 '21 01:11 HJ2k

I wonder if you have an android phone with the govee app? To see if you can obtain a bluetooth log file to see if the code for the video mode can be seen?

https://github.com/chvolkmann/govee_btled#reverse-engineering-notes

bwp91 avatar Nov 16 '21 01:11 bwp91

I actually don't have any android phones but I will try to borrow one and see if I can get you those log files.

HJ2k avatar Nov 16 '21 01:11 HJ2k

Hey, don't suppose you have managed to obtain an android phone?

bwp91 avatar Dec 30 '21 08:12 bwp91

Hi @HJ2k

I have found a way to do this with a Mac and an iPhone if you are still interested in finding the video mode code!

bwp91 avatar Jan 08 '22 18:01 bwp91

Do you have options for video mode in the govee app, like partial/all, game/movie, and saturation?

bwp91 avatar Jan 08 '22 20:01 bwp91

Hi, I have not gotten a hold of an android phone yet.

Here are two screenshots of the app with bluetooth on and with bluetooth off:

On Jan 8, 2022, at 3:31 PM, Ben @.***> wrote:

Do you have options for video mode in the govee app, like partial/all, game/movie, and saturation?

— Reply to this email directly, view it on GitHub https://github.com/bwp91/homebridge-govee/issues/143#issuecomment-1008142058, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYJM6WBI4NHXCKIM2LVUB3UVCNLNANCNFSM5H6C5FKQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

HJ2k avatar Jan 14 '22 03:01 HJ2k

Yes i’m totally interested! What should I do?

On Jan 8, 2022, at 1:42 PM, Ben @.***> wrote:

Hi @HJ2k https://github.com/HJ2k I have found a way to do this with a Mac and an iPhone if you are still interested in finding the video mode code!

— Reply to this email directly, view it on GitHub https://github.com/bwp91/homebridge-govee/issues/143#issuecomment-1008100588, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYJM6UWAIXM4ILMIVIJYJ3UVCASLANCNFSM5H6C5FKQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

HJ2k avatar Jan 14 '22 03:01 HJ2k

Try this as your bluetooth code: 0x00,0x00,0x00,0x00

If it works I can explain how to change it between partial/all, movie/game and the saturation

bwp91 avatar Jan 14 '22 07:01 bwp91

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 21 '22 08:01 stale[bot]

Hi, I finally got around to trying out what you sent me but I’m totally lost now. Where should I be entering that bluetooth code? Inside the config text file?

How do I format it?

On Jan 14, 2022, at 2:15 AM, Ben @.***> wrote:

Try this as your bluetooth code: 0x00,0x00,0x00,0x00

If it works I can explain how to change it between partial/all, movie/game and the saturation

— Reply to this email directly, view it on GitHub https://github.com/bwp91/homebridge-govee/issues/143#issuecomment-1012836935, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYJM6W7HNGRX4INURH2YOTUV7ESJANCNFSM5H6C5FKQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

HJ2k avatar Jan 22 '22 06:01 HJ2k

You can use the Homebridge UI to enter the code in the 'Custom Scenes/Modes' subsection inside 'Light Devices'. If you scroll half way through the fields, there is an option called 'Video Mode', just enter the code in there, save and restart. The toggle should then appear in the Eve app.

I don't know if you are already familiar with the process of setting up scenes from the Eve app, more info here https://github.com/bwp91/homebridge-govee/wiki/Scene%2C-Music%2C-DIY-Modes

bwp91 avatar Jan 22 '22 10:01 bwp91

Hey Ben, so I entered the code in the video mode section (that was not showing up using Safari on the mac). I also just downloaded the Eve app but I did not see the video mode toggle anywhere. Not sure what I’m missing there.

Here’s how I have my homebridge ui settings:

On Jan 22, 2022, at 5:30 AM, Ben @.***> wrote:

You can use the Homebridge UI to enter the code in the 'Custom Scenes/Modes' subsection inside 'Light Devices'. If you scroll half way through the fields, there is an option called 'Video Mode', just enter the code in there, save and restart. The toggle should then appear in the Eve app.

I don't know if you are already familiar with the process of setting up scenes from the Eve app, more info here https://github.com/bwp91/homebridge-govee/wiki/Scene%2C-Music%2C-DIY-Modes https://github.com/bwp91/homebridge-govee/wiki/Scene%2C-Music%2C-DIY-Modes — Reply to this email directly, view it on GitHub https://github.com/bwp91/homebridge-govee/issues/143#issuecomment-1019166428, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYJM6VZJVUIBMB2X3OH4D3UXKBL3ANCNFSM5H6C5FKQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

HJ2k avatar Jan 26 '22 04:01 HJ2k

I just followed the link you sent and was able to see the video mode in the Eve app. I followed the steps to add that scene and got it to appear in the Home app but when I click that new scene button I get a ‘failed’ error.

On Jan 22, 2022, at 5:30 AM, Ben @.***> wrote:

You can use the Homebridge UI to enter the code in the 'Custom Scenes/Modes' subsection inside 'Light Devices'. If you scroll half way through the fields, there is an option called 'Video Mode', just enter the code in there, save and restart. The toggle should then appear in the Eve app.

I don't know if you are already familiar with the process of setting up scenes from the Eve app, more info here https://github.com/bwp91/homebridge-govee/wiki/Scene%2C-Music%2C-DIY-Modes https://github.com/bwp91/homebridge-govee/wiki/Scene%2C-Music%2C-DIY-Modes — Reply to this email directly, view it on GitHub https://github.com/bwp91/homebridge-govee/issues/143#issuecomment-1019166428, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYJM6VZJVUIBMB2X3OH4D3UXKBL3ANCNFSM5H6C5FKQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

HJ2k avatar Jan 26 '22 04:01 HJ2k

Are you able to show me the full logs that appear when you try?

Ideally with debug logging set as on in the plugin settings.

bwp91 avatar Jan 26 '22 13:01 bwp91

Here’s what I got:

[1/26/2022, 3:49:17 PM] [Govee] [Govee tv lights] current state [on]. [1/26/2022, 3:49:17 PM] [Govee] [Govee tv lights] could not be updated as BLE adapter not in correct state [false] at BluetoothLED.updateDevice (/usr/local/lib/node_modules/homebridge-govee/lib/connection/ble.js:140:13). [1/26/2022, 3:49:24 PM] [Govee] [Govee tv lights] has been reported [offline] via API, so update may or may not be successful. [1/26/2022, 3:49:24 PM] [Govee] [Govee tv lights] [AWS] sending update {"msg":{"cmd":"color","cmdVersion":0,"data":{"red":255,"green":230,"blue":210},"transaction":"v_1643230164931000","type":1}}. [1/26/2022, 3:49:24 PM] [Govee] [Govee tv lights] [AWS] message event [{"msg":{"cmd":"color","cmdVersion":0,"data":{"red":255,"green":230,"blue":210},"transaction":"v_1643230164931000","type":1}}]. [1/26/2022, 3:49:24 PM] [Govee] [Govee tv lights] [AWS] receiving update [{"cmd":"color","cmdVersion":0,"data":{"red":255,"green":230,"blue":210},"transaction":"v_1643230164931000","type":1,"source":"AWS"}]. [1/26/2022, 3:49:25 PM] [Govee] [Govee tv lights] could not be updated as BLE adapter not in correct state [false] at BluetoothLED.updateDevice (/usr/local/lib/node_modules/homebridge-govee/lib/connection/ble.js:140:13).

On Jan 26, 2022, at 8:08 AM, Ben @.***> wrote:

Are you able to show me the full logs that appear when you try?

Ideally with debug logging set as on in the plugin settings.

— Reply to this email directly, view it on GitHub https://github.com/bwp91/homebridge-govee/issues/143#issuecomment-1022180999, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYJM6UYPFOY2JC4BXM4VETUX7W4NANCNFSM5H6C5FKQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

HJ2k avatar Jan 26 '22 20:01 HJ2k

Hey Ben, how’s it going? I just updated my homebridge and saw your plugin now has support for the H6104 kit which is the one I have. Does this update have support to enable the Video mode?

thanks HJ

On Jan 26, 2022, at 8:08 AM, Ben @.***> wrote:

Are you able to show me the full logs that appear when you try?

Ideally with debug logging set as on in the plugin settings.

— Reply to this email directly, view it on GitHub https://github.com/bwp91/homebridge-govee/issues/143#issuecomment-1022180999, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYJM6UYPFOY2JC4BXM4VETUX7W4NANCNFSM5H6C5FKQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

HJ2k avatar Mar 02 '22 05:03 HJ2k

Hey @HJ2k

From the govee app with your H6140 are you able to turn on video mode if the bluetooth on your phone is disabled?

bwp91 avatar Mar 02 '22 21:03 bwp91