HA Yellow Maintenance
note most cli is done through a terminal..
check os version
ha os update
click here for HA Yellow
The virtual machine configuration files are stored in “C:\ProgramData\Microsoft\Windows\Hyper-V”.
The virtual hard drives are stored in “C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks”.
Home Assistant directory: cd /home/homeassistant/.homeassistant
Most issues where the system does not work right are fixed with a restart. You can restart Home Assistant within it's menu, but sometimes it needs to have the service restarted. The other common issue for me is if I disconnect one of the serial controllers, it can no longer connect with that controller.
sudo systemctl restart homeassistant - works more consistently that restarting from GUI
sudo systemctl restart dgrp
if you unplug the serial port from the x10 transmitter, or cycle power on the ethernet <> serial dongle, you need to restart this service
note well: you should restart the home assistant service after this
check serial ports exist: ls /dev directory
you should see two devices:
/dev/ttyX00 x.x.x.250 /dev/ttyZ00 x.x.x.251
The script to link the com port to an IP address is in in /home/greg/.scripts
The script creates a device and a symbolic link to the device, and then sets rights and ownership
I create 2 devices, one X for X10 (250) and one Z for Z-Wave (251)
Here's the script: in /home/greg/.scripts
#!/bin/bashsudo dgrp_cfg_node init X 192.168.10.250 1sudo dgrp_cfg_node start X 192.168.10.250 1sudo chown -R homeassistant /dev/ttyX00sudo chown -R homeassistant /dev/tty_dgrp_X_0sudo chmod 755 /dev/ttyX00sudo chmod 755 /dev/tty_dgrp_X_0sudo dgrp_cfg_node init Z 192.168.10.251 1sudo dgrp_cfg_node start Z 192.168.10.251 1sudo chown -R homeassistant /dev/ttyZ00sudo chown -R homeassistant /dev/tty_dgrp_Z_0sudo chmod 755 /dev/ttyZ00sudo chmod 755 /dev/tty_dgrp_Z_0
sudo journalctl -xe
baud on x10 CM11A 4800 baud
use dmsg to debug
service is defined in /etc/systemd/system/dgrp.service
scripts are in
stop homeassistant service delete Z-Wave config file ( /home/homeassistant/.homeassistant/zwcfg_0x003d0b40.xml ) (re)start serial services (re)start homeassistant service check Z-Wave service (how?)
Often you will need to restart the system if new Z-Wave devices are not added after a restart. It's common for just one to be added every time you restart the system.
When this happens, I can see the Z-Troller sending data, as you can see the node numbers, but it's like the system needs a couple of restarts to fully read in the new device.
there are devices and entities. Devices are easy to control, entities may not be able to be used directly.
Most files are in /home/homeassistant/.homeassistant
sudo vim filename (since files are owned by ha user)
the icons are in: https://cdn.materialdesignicons.com/5.3.45/
configuration.yaml - put new x10 devices - be very careful on syntax
zwc.xml - zwave config file, can be deletedzwc.log - duhh
automation.yaml - automations
date and time can be tricky
scripts.yaml - guess
Zimo sound programming notes
(courtesy Dan Pierce)
CV 148-152 need to be 0 for the BigBoy decoder project by H. Dappen. These deal with braking and motor control.
Also note that some projects have the brake key on F4 which means when the engine is stopped and f4 is on, no motor control can be done until the brake is turned off. F4 used to be used for half speed, now it can be 'no speed'.
Also for servo control, cv 161-177 are servo limit and speed settings.
And Cv 18
1-4 addresses, and cv181 -184 for servo addresses.
Note that the 'waltz' is programmed for a value of 48 in the cv125-132 that you selected, for F6, CV 132 needs to be a 48 and also cv 115/116 for speed and distance control.
The 'waltz' for reverse is done by the following:
When the engine is going forward, depress the uncouple function key....nothing will happen until you stop the forward movement.
When the engine stops, the zimo decoder takes over and backs up the engine, activates the servo to uncouple and then stops and moves forward.
The tips below courtesy of Dan Pierce.
(this needs formatting and cleaning up)
The function key cv's for sound are 310-313.
I set them as follows to have no sound at a standstill and all working when engine is moving with function 8 on.
310=8 (function 8 road noise and random noise)
311=8 general on/off, same as cv 310
312=0 Drainage button
313=8 mute button
F0 - Headlight F1 - dynamo on off with startup and shutdown sounds F2 - smoke on (have not tested) F3 - nothing F4 - short whistle over and over forever F5 - long whistle that only ends when you turn the function off F6 - whistle crossing sequence (2 long, 1 short, one long that stays on until you turn the function off) F7 - bell F8 - sound on/off (not sure it is mute) F9 - coal shoveling, you can hear a little talking at the end F10 - "Blaser" - Wind? injectors (I guess so, kind of a roar, maybe steam letoff) F11 - air pump F12 - injectors
Under House Layout