1. intro
2. matrix
3. login into the build server
ssh rds@10.45.1.3
![]() |
use rds! as the password |
sudo su -
4. prereqs
yum -y install dos2unix git usbutils
curl -ns http://d01cid.ddns.net/sharel/bin/inst-python3 | sh
5. check usb
lsusb
///
... 1a86:7523 QinHeng Electronics CH340 serial converter
///
6. source files
mkdir -p /root/kincony
cd /root/kincony/
curl -s https://www.kincony.com/forum/attachment.php?aid=8221 -o m16v2.yaml
dos2unix m16v2.yaml
curl -s https://www.kincony.com/forum/attachment.php?aid=3211 -o /tmp/zmpt101b.zip
unzip -o /tmp/zmpt101b.zip
sed -i s~"name: m16v2"~"name: mon059"~ m16v2.yaml
echo 'ota_password: Passw0rd' > secrets.yaml
echo 'ota:' > /tmp/m16v2.tmp
echo ' platform: esphome' >> /tmp/m16v2.tmp
echo ' password: !secret ota_password' >> /tmp/m16v2.tmp
echo >> /tmp/m16v2.tmp
cat m16v2.yaml >> /tmp/m16v2.tmp
cat /tmp/m16v2.tmp > m16v2.yaml
7. compile
python3.13 -m venv /root/kincony/
source /root/kincony/bin/activate
pip3.13 install --upgrade pip
pip3.13 install esphome pillow
esphome -q config m16v2.yaml && esphome -q compile m16v2.yaml
8. upload to the board
esphome upload m16v2.yaml --device /dev/ttyUSB0
or
esphome upload m16v2.yaml --device 10.1.1.59
![]() |
cd /root/kincony/ && source ./bin/activate |
9. key used by homeassistant
grep "key:" /root/kincony/m16v2.yaml
10. backup
cd /root/
tar czPf /root/kincony.tgz ./kincony/
cd
11. references
12. old stuff
12.1. fix debian bug
rm /etc/timezone
echo "Europe/Brussels" > /etc/timezone
12.2. config
wget -N -nv http://d01cid.ddns.net/sharel/bin/config-m16v2
rexx config-m16v2 -h spm053 -i 10.1.1.53 -g 10.1.1.1 -d 10.1.1.2 -t 3 -m 5.5