linuxkidd / coachproxy-os

Open Source version of CoachProxy software
GNU General Public License v3.0
36 stars 19 forks source link

UI flow not being created #7

Closed cterwilliger closed 4 years ago

cterwilliger commented 4 years ago

Everything seemed to build and update correctly in ansible. config/status flows and ui are reachable, but full ui flow never gets created. this is all that shows in cp log: pi@coachproxyos:/coachproxy/log$ more cp.log 2019-10-31 02:46:39+00:00 rc.local.coachproxy -- BOOTED -- 2019-10-31 02:46:42+00:00 coachproxy_watchdog can0 is DOWN. Attempting to restart... 2019-10-31 02:46:47+00:00 coachproxy_watchdog can0 interface is now up. 2019-10-31 02:46:48+00:00 coachproxy_watchdog rvc2mqtt.pl is down. Starting it... 2019-10-31 02:46:48+00:00 coachproxy_watchdog wifi_mqtt.pl is down. Starting it... 2019-10-31 02:47:01+00:00 re-ip updating IP address in habridge.config with 192.168.0.152 2019-10-31 02:47:03+00:00 re-ip restarted habridge.service 2019-10-31 02:56:15+00:00 cp_config.pl rebuilding node-red flows file for 2019 Phaeton 40_IH 2019-10-31 02:56:36+00:00 cp_config.pl installing new ha-bridge/device.db file

greendog99 commented 4 years ago

Try running /coachproxy/configurator/cp_config.pl --debug from the command line and see if you get any more info. That's the command that gets run when choosing a coach config from the UI.

cterwilliger commented 4 years ago

So, I did that and it built the flow with no errors. Seems to work fine. I will close that issue. My first priority would be email notifications. What’s your thoughts on that? Create a page for users to plug in their own smtp settings?

Chris

Sent from my iPhone

On Nov 1, 2019, at 13:19, Mike Fischer notifications@github.com wrote:

 Try running /coachproxy/configurator/cp_config.pl --debug from the command line and see if you get any more info. That's the command that gets run when choosing a coach config from the UI.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

cterwilliger commented 4 years ago

In case this is useful:

pi@coachproxyos:/coachproxy/configurator$ ./cp_config.pl --debug

2019 Phaeton 40_IH

Removing nodes: /lpg/ /waterheat-label/ /furn1-spacer/ /heatpump1-spacer/ /heatpump2-spacer/ /floorheat/ /battery-basic/ /bed_tvlift/ /bedlift/ /light_85/

Updating miscellaneous features: .[] | if (.name != null) and (.name | contains("CoachProxy Template")) then .name = "2019 Phaeton 40_IH" else . end

Updating lights.

1.0.0

greendog99 commented 4 years ago

I'm glad cp_config.pl build the config correctly (the output looks fine), but it should also build via the UI so if you keep running into that problem, we can take a closer look.

Email notifications are a high priority. I have issue #6 open already for that but haven't done any work. I'll write the rest of my thoughts into that issue...

greendog99 commented 4 years ago

Confirmed this is happening to me too. Looking into it now...

greendog99 commented 4 years ago

Fixed.