Sunday, 15 October 2023
Pacific Image PrimeFilm 1800u on Windows 10
Thursday, 13 April 2023
Flashing WLED to WT32-ETH01
Tuesday, 11 April 2023
WireGuard VPN between MikroTik RouterOS v7 and FRITZ!Box 7530
MikroTik routers are very flexible but are sometime complex to configure. FRITZ!Box routers take a different approach and have a simpler interface with wizards to setup connections.
FRITZ!Box routers use IKEv1 aggressive mode for IPSEC VPNs which can cause some interoperability challenges when connecting to another vendor's device. WireGuard VPNs are relatively easy to setup if you have different brands of devices or if you to deal with dynamic IP addresses.
Although FRITZ!Box routers use configuration files for WireGuard, it's possible to create a connection to a MikroTik device. You will need RouterOS v7 for this, as WireGuard is not available in v6. For the FRITZ!Box use FRITZ!OS 7.50 or later. Both vendors have their own dynamic DNS services which is useful if you don't have static IPs.
In this example, 192.168.7.0/24 is the FRITZ!Box network and 192.168.4.0/24 is the MiktroTik network.
- Create a new WireGuard interface on the MikroTik. Set the MTU to 1412 (It appears the FRITZ!Box uses this, 40 byte for WireGuard with IPv6 + 8 byte PPPoE).
- Don't set any IP address on the new WireGuard interface. Instead, add an IP route to the remote FRITZ!Box subnet and set the WireGuard interface as the gateway.
- Add IPv4/IPv6 firewall rules to allow input UDP traffic on the chosen WireGuard port from the WAN along with any appropriate LAN <->VPN access via the new WireGuard interface.
- Add a mangle rule to limit the MSS to 1352 on traffic to/from the new WireGuard interface.
- On the FRITZ!Box, add a new WireGuard connection (Internet -> Permit Access -> WireGuard VPN).
Friday, 2 April 2021
Energenie MIHO109 - Converting to Tasmota
I found they come apart easily as there's no glue or clips to pry apart, just 3 T8 safety screws. Inside there's an ESP8285 on a separate module (essentially an ESP8266 but with the flash memory included). I traced the pads to the various pins on the ESP chip and luckily the RX/TX pins are exposed the edge connector.
Samsung 27" LCD TV BN44-00506A power supply repair
This 27" LCD TV is around 10 years old and suddenly stopped working with a pop. Given it's age there was nothing to lose by seeing if it could be fixed. With the power supply out it was clear the fuse had blown along with the blue ceramic capacitor next to it.
Fuses usually blow for a reason so I inspected the rest of the board for shorted or damaged components.
I found the main bridge rectifier D2SB60 was shorted along with the regulator IC STRW6053S.
The faulty components were common parts and easily sourced online. Testing with a load lamp showed the short circuit had been cleared by the new parts and the 5v standby voltage was now present. When the power supply was put back in the TV everything worked OK.⚠ Safety warning - These power supplies operate at mains voltage and some components may retain a high voltage even with the power disconnected.
Wednesday, 24 March 2021
HP Microserver N40L RAID errors
I've got one running Windows 10 Pro from an SSD in the CD-ROM bay, leaving all the bays free for data drives running in AHCI (non RAID) mode. I recently upgraded from 2TB to 4TB data drives to give myself a bit more backup space.
The lazy way to upgrade is to pull a drive, replace it and then let the array rebuild. Repeat this process for each drive and at the end you can expand the volumes. During this process though the data is at risk because should a remaining drive fail, everything is lost. The drive bays on these servers aren't hotswap so they do need to be powered off first.
The correct expansion method is to add a new disk to the storage pool, prepare the old drive for removal and then finally remove it. A USB caddy is a good way to temporarily add an extra drive. My advice is to add some USB3 ports via a PCIe card else you'll be waiting for days at USB2 speeds.
At first I tried the lazy method as this server only contains backup data but had problems rebuilding. I had 4 new drives and each one failed with multiple I/O errors, dropping offline and machine lockups. Checking the drives on another PC found no errors on the drives and they worked fine.
After a lot of experimentation I found it to be a problem with the default Microsoft AHCI driver and the AMD chipset in this server. Despite AMD saying to use the default driver with Windows 10, it actually works reliably with their amd_sata.sys version 1.2.1.402 driver.
Tuesday, 16 March 2021
Home Assistant control of Mitsubishi MCFZ-A24 WV A/C - Part 3
climate:- platform: mqttcurrent_temperature_topic: "tele/tasmota_xxx/SENSOR"current_temperature_template: "{{ value_json['BME280']['Temperature'] }}"temperature_unit: "C"name: Conservatorymodes:- "off"- "cool"- "heat"- "dry"swing_modes:- "on"- "off"fan_modes:- "high"- "medium"- "low"min_temp: 16max_temp: 31initial: 18power_command_topic: "cmnd/conservatoryac"mode_command_topic: "cmnd/conservatoryac"temperature_command_topic: "cmnd/conservatoryac"fan_mode_command_topic: "cmnd/conservatoryac"swing_mode_command_topic: "cmnd/conservatoryac"precision: 1.0
- id: ac-controlalias: AC Controltrigger:platform: mqtttopic: cmnd/conservatoryacaction:- service: mqtt.publishdata_template:topic: cmnd/tasmota_888715/IRhvacpayload: >{% set pwr = 'on' if states.climate.conservatory.state != 'off' else 'off' %}{% set mitmode = 'cool' if states.climate.conservatory.state == 'off' else states.climate.conservatory.state %}{"Vendor":"MITSUBISHI112","Power":"{{pwr}}","Mode":"{{mitmode}}","FanSpeed":"{{state_attr('climate.conservatory', 'fan_mode')}}","Temp":{{state_attr('climate.conservatory', 'temperature')}},"SwingH":"Off","SwingV":"middle"}mode: single
Putting it all together, the card looks nice on the dashboard and is easy to use. Extra options are available from the ⁝ icon.
Pushing one of the icons on the climate controls results in a "beep" from the A/C and a log entry in the Tasmota cosole.
Heltec v3 and Wireless Tracker poor Bluetooth
The Heltec LoRa32 v3 and Wireless Tracker both seem to suffer from a limited Bluetooth range. In my experience unless you are in the same r...
-
The Pacific Image PrimeFilm 1800u film scammer isn't officially supported on anything newer than Windows 7, but it can be made to work...
-
MikroTik routers are very flexible but are sometime complex to configure. FRITZ!Box routers take a different approach and have a simpler int...
-
The WT32-ETH01 is an ESP32 board that includes a 100Mb ethernet port. They usually cost around £15 in the UK and are great for driving pixel...