Xiaomi Kettle

Hi, I’ve used it successfully for a month but now it’s not starting :frowning: Here is the log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/app/app.js:7
const mqttClient = mqtt.connect(config.mqtt.url, {});
                                            ^
TypeError: Cannot read property 'url' of undefined
    at Object.<anonymous> (/app/app.js:7:45)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47
[cmd] /bin/ash exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

And supervisor’s log:

21-02-10 15:00:00 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_b2fc9258_cybele application
21-02-10 15:00:00 WARNING (MainThread) [supervisor.addons.options] Unknown options mqtt
21-02-10 15:00:00 WARNING (MainThread) [supervisor.addons.options] Unknown options dongles
21-02-10 15:00:02 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on b2fc9258/amd64-addon-cybele with version 1.0.0

I think that it’s related to this problem: https://github.com/home-assistant/supervisor/issues/2540. The supervisor now requires schema so with “false” it does not recognize options :frowning: Could you please provide schema for the options in config.json ? It’s a very good add-on and now it’s useless :frowning: Thanks in andvance.
P.S.
I hope you’ll understand my poor english :slight_smile:

1 Like

tnx. i see. i will fix it

2 Likes

Hi, sorry to bother you. Any news on fixing it? Perhaps you’ve forgotten about us :slight_smile:

1 Like

configuration issue is fixed. new release 1.0.1 is available. be attentive configuration is migrated from Configuration Tab to Configuration Folder. see instruction for more information

1 Like

unfortunately, i couldn’t do schema for three level options. in this reason I was forced to refuse from using of Configuration Tab in the add-on

1 Like

Thank you very much. Now it works again :slight_smile:

1 Like

Hi Artist! Looking forward to using this add-on, but I am running into a problem I can’t solve. This is what the log says when I start Cybele:

This is the log from the MQTT broker add-on:

This is how the cybele.json file is set up:

Can you see if I am missing something?

Thanks!!

Funny, I bumped this thread back in January just to search for it again today.

Thanks for sharing Cybele @Artist! Does it have a docker image?

I am also here in search for an docker image to install cybele on my rhasspy pi.
Have we to do something for this problem or is it resolved already?

As of now (2020-10-30), there’s a bug in bluetoothd which causes it to constantly write all state changes of everything all the time to disk. This has caused the death of multiple brave 16GB micro sd cards which couldn’t handle 50+TBW :frowning:

If i search for cybele on this forum i do not find very much.
@Artist Maybe you can made an thread announcing your cybele integration?

There is a dockerfile on his github.



Using ble USB dongle plug into home assistant

2 Likes

Hello, piriya2544

Do you use cybele project for this?

What can you do with it to? I have one gathering dust :frowning:

Has anyone connected yunmi.kettle.v12 to HA?

Is anyone able to get this running?

I’m getting the error “s6-overlay-suexec: fatal: can only run as pid 1”

Same here!

Hi @piriya2544,

do you mind explaning what you did to implement it via Bluetooth integration?

do you found a solution?

i can install and run cybele by ArtistAOP (one of fork works) addon create entity but its red “!”. No logs error etc :frowning:

error “s6-overlay-suexec: fatal: can only run as pid 1” is fixed. new release 1.0.2 is available.