Skip to content

Integration to home assistant input feed breaks after update to alpine3.20_emoncms11.9.10 #46

@TCWORLD

Description

@TCWORLD

I've updated to the latest version of the integration, but unfortunately add on no longer works.

In emoncms, all the feeds show as not having updated since the upgrade.

If I go to the Input tab, it just sits there with a spinny loading icon:

Image

Looking in the logs in home assistant, I see the following error each time home assistant tries to update the feed:

[php:error] [pid 136:tid 136] [client 172.30.32.1:51816] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'ip' in 'SELECT' in /var/www/emoncms/Modules/device/device_model.php:273\nStack trace:\n#0 /var/www/emoncms/Modules/device/device_model.php(273): mysqli->query()\n#1 /var/www/emoncms/Modules/device/device_model.php(235): Device->load_list_to_redis()\n#2 /var/www/emoncms/Modules/device/device_model.php(225): Device->get_list_redis()\n#3 /var/www/emoncms/Modules/device/device_controller.php(65): Device->get_list()\n#4 /var/www/emoncms/core.php(81): device_controller()\n#5 /var/www/emoncms/index.php(257): controller()\n#6 {main}\n  thrown in /var/www/emoncms/Modules/device/device_model.php on line 273, referer: ...
[php:error] [pid 138:tid 138] [client 172.30.32.1:33016] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'ip' in 'SELECT' in /var/www/emoncms/Modules/device/device_model.php:292\nStack trace:\n#0 /var/www/emoncms/Modules/device/device_model.php(292): mysqli->query()\n#1 /var/www/emoncms/Modules/device/device_model.php(97): Device->load_device_to_redis()\n#2 /var/www/emoncms/Modules/device/device_model.php(478): Device->exist()\n#3 /var/www/emoncms/Modules/input/input_methods.php(330): Device->set_fields()\n#4 /var/www/emoncms/Modules/input/input_methods.php(182): InputMethods->process_node()\n#5 /var/www/emoncms/Modules/input/input_controller.php(54): InputMethods->post()\n#6 /var/www/emoncms/core.php(81): input_controller()\n#7 /var/www/emoncms/index.php(257): controller()\n#8 {main}\n  thrown in /var/www/emoncms/Modules/device/device_model.php on line 292

Not sure what's going on. I've restarted the addon, along with rebooting the raspi, but to no avail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions