I am not sure why you are having this issue and I'll need to look into this further. I did a couple of quick tests on my system to see how mochad reacted in different scenarios:
1) Boot R-Pi with CM15a connected:
- mochad is run by systemd and CM15a is recognized; mochad continues to run.
- CM15a plugin sees mochad running, connects normally and CM15a functions properly.
2) Boot R-Pi without CM15a connected:
- mochad is started by systemd, does not find CM15a and exits normally.
- CM15a plugin does not find mochad running, starts it (not as a service), attempts to connect and fails and responds with "Unable to communicate with CM15A..."
** Attaching the CM15a in at this point does nothing and the plugin continues to log "Unable to communicate..."
** Restarting the plugin with the CM15a connected results in mochad being restarted, CM15a recognized and plugin operates properly.
I was under the impression that mochad is supposed to start whenever a CM15a is connected, but discovered this is not the case on my system.
I will have to look into this further. I am really busy with my business so it will likely be a bit before I can devote some time to this.
1) Boot R-Pi with CM15a connected:
- mochad is run by systemd and CM15a is recognized; mochad continues to run.
- CM15a plugin sees mochad running, connects normally and CM15a functions properly.
2) Boot R-Pi without CM15a connected:
- mochad is started by systemd, does not find CM15a and exits normally.
- CM15a plugin does not find mochad running, starts it (not as a service), attempts to connect and fails and responds with "Unable to communicate with CM15A..."
** Attaching the CM15a in at this point does nothing and the plugin continues to log "Unable to communicate..."
** Restarting the plugin with the CM15a connected results in mochad being restarted, CM15a recognized and plugin operates properly.
I was under the impression that mochad is supposed to start whenever a CM15a is connected, but discovered this is not the case on my system.
I will have to look into this further. I am really busy with my business so it will likely be a bit before I can devote some time to this.
Comment