the problem is that packages are reinstalled every time you start appdaemon.
it has 1 upside, and that is that you always use the latest version from the packages.
and thats also the downside.
as soon as something changes in 1 of the packages, and it breaks you are screwed.
in this case curl dev is updated and has other expectations.
so all you can do is find out what curl-dev needs and make sure that is installed.
or open an issue for curl-dev and tell them it cant be installed on alpine-linux
i was hoping to reply with great that works and btw I found i didnât need libc-dev⊠this was working yesterday!
but i then thought iâd double check, restarted appdaemon and now it doesnât work again!
now the error is:
ERROR: unsatisfiable constraints:
python3-3.7.3-r0:
breaks: python3-dev-3.7.4-r0[python3=3.7.4-r0]
satisfies: world[python3=3.7.3-r0]
[22:24:43] FATAL: Failed installing package python3-dev
[cont-init.d] appdaemon.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
-----------------------------------------------------------
Oops! Something went wrong.
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
i think i might look for another way to run these apps, if there is anything more robust than appdaemon plugin.
Sounds intersting, but also complicated for non-programmers
How reliable and fast it is ?
At the moment Iâm using motioneye, also as camera motion sensor but delay is signifcant, 5-8 secondsâŠ
Guess Dahua directly can do it faster.
Can you show how you done in config yaml homeassistant has come so far but does not get mqtt the sensor to work I get this error message suspects that I got hold of an old code that no longer works
2019-12-27 13:48:33 ERROR (MainThread) [homeassistant.components.homeassistant] Invalid config for [sensor.mqtt]: [payload_on] is an invalid option for [sensor.mqtt]. Check: sensor.mqtt->payload_on. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/mqtt/
Yes I know there must have been some change in it since as I understood it has worked before and have read that instruction but am too green on this to understand exactly what to replace those commands with
HA has become more particular about lines in the config file that it doesnât understand. Previously, it would have ignored them, now it throws an error.
For a mqtt sensor, the sensor takes on whatever value the message payload contains (modified by the payload template), so âpayload_onâ and âpayload_offâ are meaningless. You can just remove them.
2019-12-27 17:37:00 ERROR (MainThread) [homeassistant.components.homeassistant] Invalid config for [sensor.mqtt]: value is not allowed for dictionary value @ data[âdevice_classâ]. Got âmotionâ. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/mqtt/
Then Iâve created an automation rule in automations.yaml which will record a video to a specific folder once movement has been detected.
alias: dahua_motion_record
trigger:
entity_id: binary_sensor.motion_cam01
from: âoffâ
platform: state
to: âonâ
condition:
action:
service: camera.record
data_template:
entity_id: camera.dahua_frontdoor_low
filename: â/config/www/ipcam/Frontdoor {{ now ().day }}.{{ now ().month}} {{ now ().hour }}:{{ now ().minute }}:{{ now ().second }}.mp4â
duration: 10
After upgrading to the latest version of HassIO 3.7, AppDaemon stopped working. Below the setup I got it up working again. I marked in bold the additions to my previous setup.