I recently started trying out the ESPHome Add-On in home assistant. With this, I was able to add and upgrade some ESP devices, however I soon realized after adding one of them, that the auto-generated name may not be wanted (or if you’re moving a device around and want a new name). So I did some research and worked out the process for renaming the device in ESPHome.
Continue reading “Renaming ESP Devices in ESPHome”Joplin Failed to Fetch Due to Certificate Expiration
Recently I ran into an error when trying to update Joplin (hooked up to WebDAV on NextCloud).
Last error: FetchError: request to https://nextcloud.rapternet.us/remote.php/dav/files/sbachhub/Documents/Joplin/info.json failed, reason: certificate has expired
I checked the SSL cert with FireFox and everything looked good there. Finally I decided to try updating the application, on a wild attempt to fix it in a simple way, and… it worked. It might have just needed a reboot, but the update worked in this case.
The VLANs Strike Back
I recently re-did my entire network, changing out switch locations, what ports were plugged into where, and so on. This wasn’t too bad, except I didn’t make note of one thing: which ports were VLAN tagged. This became quite the struggle as I tried to figure out why my WiFi couldn’t access the internet, and why all my servers were inaccessible. I even changed what port the Unifi AP was plugged into to try and kick that VLAN possibility out of the running. Little did I know that BOTH ports I tried to plug the AP into were tagged, so neither could reach the internet. I ended up plugging my RT-N16 back into the modem to see that I had internet, and then moved the switch port the access point was into one more time to find a port that wasn’t tagged. Once I had that, I swapped what port my servers were plugged into to find a non-tagged port, that would get my Unifi controller back up so I could go and clean up the rest and get things back into an operational state.
TLDR: Label or remove VLANs before re-architecting things
Enabling the Home Assistant API
The home assistant API can be used to build external tools to manipulate information in home assistant and control elements in it. This can be useful for triggering automations with custom code. It can even be triggered using curl on linux, allowing for simple scripts executing home assistant actions.
Continue reading “Enabling the Home Assistant API”Amazon Fire Tablet Rant
I wouldn’t normally go into this, but boy does this product tell me that I’m the product being sold here, not the tablet. Starting with purchasing the tablet, Amazon asked if I wanted my account preloaded and I am glad I said no, or else they would’ve probably subscribed me to every fee possible.
When going through the initial setup, there were multiple pages of “do you want to sign up for this monthly service for $xx/month”, each of which moved the accept and deny buttons, often swapping them from the previous page, so don’t just click quickly through or you’ll have a new monthly bill.
On top of that there was the same situation with permissions, do you want maps to be able to use your permission (oh and allow Amazon to track your permission too, can’t do one and not the other). This really liked like they saw the windows 10 and Google privacy settings and said “we can do worse, much worse”.
One final insult Amazon gave us through this tablet is how it handles its lock screen ads, when the tablet is asleep. It will wake up the screen to play ads, this is just…. one great big slap to the face. Pros: cheap, Cons: Software, now to work on rooting and installing lineage OS, if its possible.
New LightBurn Features (aka I probably didn’t read the release notes months ago)
I can’t believe I missed this option being added to LightBurn. In the device settings, there is now an option to enable is the laser on when framing option. This turns on the laser with a low power setting when running the frame to make it obvious where you will be cutting/engraving. This replaces holding shift when hitting the frame button from older releases. This small quality of life improvement is much appreciated here.
Proxmox VM Misconfiguration Downtime
I’ve got a VM running a critical service on my Proxmox host. This VM doesn’t have any real data to speak of, it just runs a few automated tasks that we rely on, so the virtual disk is rather small for it. For some reason while working on the VM (likely restoring a backup from a previous problem I had), I must’ve restored the VM and made my NAS mount the location of the virtual disk. So my virtual machine has been running off my NAS for a while. Until one day, when I had to bring my NAS down for an extended period, and the service went down too. I spent a bit of time trying to get it back up before realizing that the disk was located on the NAS and the NAS wouldn’t be up for a while. Nevertheless, once the NAS was back up, I moved the disk back to the virtual host where all the other VMs run from… oops.
3D Printing Bed Treatment
We have one material for my 3D printer that is very temperamental on the build plate. Printing using it and a clean build plate will lead to the print not sticking midway through and failing, while printing on glue stick or tape leads to it sticking so well it takes 30 minutes with a razor blade to remove it. Anything that seems to help it stick, helps it stick a bit too much, and my build plate is glass, so i can’t flex it to pop the print off. In comes the dumb idea, why not use a sticky note underneath the tape. This will let us flex the print just enough to break the seal with the build plate. It worked. So here’s how to do it.
Continue reading “3D Printing Bed Treatment”Testing the G8 Lens on the Ortur Laser Master 2
I’ve been using the ortur laser master 2 for a while now, and while I had seen plenty of chatter about the G8 lens, I didn’t think it would be that major of an upgrade for me, but I was Very wrong. I recently picked up the G8 to try it out and once it was focused, the beam was tighter than it ever could be with the stock lens. This gave me high hopes for the test cuts.
I ran one cut job on some brown AstroBright paper that I was using a few days ago. With the stock ortur lens, I found that 900 mm/min at 100% power for 2 passes would give a clean cut through and require minimal to no hand work to split the papers apart. For my test with the G8, I started with one pass, and that’s all I needed, everything was perfectly cut apart, no tabs between the pieces, nothing. I did run into one snag with that first test run, some of my cuts were inaccurate, lines not lining up and some corners shifted. I noticed while focusing the lens that it was really loose in the mount. I pulled it out, put 2 wraps of teflon tape around the threads, and put it back in the laser. Second test cut went 100% perfectly, all pieces fell apart, no shifting of lines/corners.
The G8 lens is absolutely worth getting and installing on the ortur laser master 2. The tighter focus will help with both cutting and engraving and let you run the machine faster.
NextCloud “Maintenance” Mode Error Resolution
For a while my NextCloud server decided to stop allowing my phone or desktop to upload to it due to it being in “maintenance mode”, however I could log into the webui with no problems, and nothing in the logs showed it being in maintenance mode. This started to frustrate me as I could find nothing to signify why my clients thought the server couldn’t be used. I tried a number of things:
- Clearing out the file locks table (there were 600,000 entries in it, and I’m the only user on the server)
- occ db:add-missing-columns
- occ db:add-missing-indices
- occ db:add-missing-primary-keys
What finally worked: - occ files:scan –all
Finally with the files:scan –all it started working again and my app was able to start uploading to the server. If you have a NextCloud server and have been running into “maintenance mode” errors when your server is not in maintenance mode, this is certainly worth trying.
Some GitHub Issues worth checking: