GreatBlueHeron

joined 2 years ago
[–] GreatBlueHeron@lemmy.ca 2 points 2 days ago

Nah, the left is going to get a real thought leader any day now

[–] GreatBlueHeron@lemmy.ca 4 points 5 days ago (1 children)

I understand that - that's why I mentioned terminal sessions into my home assistant instance and the file editor add-on. But when developing a home assistant component the only way to run it is in a home assistant instance. VS Code with devcontainers provides a development home assistant instance for this purpose. If I'm just editing the files in my production instance then I need to keep.restarting it to load new versions etc. Maybe I'll just install another instance for development.

[–] GreatBlueHeron@lemmy.ca 2 points 5 days ago

Yeah, I'm just learning that now. Devcontainers is great because it runs a full instance of Home Assistant for debugging and test. There is DevPod Containers that might do the same thing, but I don't use DevPod so it's also a bit overwhelming (using that word a lot today..) to get going and I'm not sure if it's compatible with the devcontaiers configuration in the Home Assistant dev tree.

[–] GreatBlueHeron@lemmy.ca 2 points 6 days ago (1 children)

Codium sounds perfect - thanks. It's still going to be a bit overwhelming - but that's another learning experience.

 

A while back I ditched Windows for Linux desktop (long time Linux user, just not desktop) because I've learned to hate Microsoft.

I have 2 Sengled WiFi bulbs that I thought were useless now that Sengled is dead (although the app seems to be able to login again now, I'll never trust it). But then I found Sengled Tools which, among other things, documents a very simple way to communicate with Sengled bulbs using JSON over UDP. The sample light custom component is only ~100 lines of Python and adding the UDP and JSON from Sengled Tools would be maybe 50-100 more. I took this as an invitation to improve my Python and rescue the bulbs so I started reading up on Home Assistant development.

I now have this overwhelming VS Code install with devcontainers etc. etc. which seems crazy overkill for the task at hand and I really resent AI being shoved in my face every time I try to do something - especially when the main purpose of the exercise is to learn.

I run Home Assistant in a VM and I worked out I can virsh console hass and then docker exec -it homeassistant sh. I think there's maybe a sshd addon I could use and there is also the File Editor addon.

I guess I've answered my own question, and maybe I just wanted to have a rant about being "forced" back into the Microsoft ecosystem in order to develop for Home Assistant - but I would be interested to learn about other options.

Edit to add my solution for anyone that might come across this post in the future:

As usual, I rushed in without reading the documentation properly. I just started reading from the top and following the VS Code instructions. If I had scrolled down the page a bit I would have found the "Manual Environment" section. There are no instructions for my specific distribution, but it was clear enough that it could easily be adapted. I now have a copy of Home Assistant that I can simply run in a terminal and kill and restart etc. without impacting my "production environment". I've already installed vscodium, so will probably keep using it, but if I read the instructions properly I would probably just use vi.

[–] GreatBlueHeron@lemmy.ca 17 points 1 week ago (3 children)

Thank you. I made a comment about it being a shame that we don't capture the waste heat from some process a while back and someone quipped something like "2nd law of thermodynamics moment". I went and did some reading, but couldn't make sense of it. Your explanation makes sense.

[–] GreatBlueHeron@lemmy.ca 12 points 1 week ago

You can't always trust the KPatience solver for some games. I have not worked out yet which games it's broken for but I routinely win Simple Simon games that it says can't be won. There others, but I can't remember which.

I also have a bit of a love/hate relationship with the solver hinting - I'd like hints to only point out moves that I've missed based on the cards on the table. The hints often seem to be positioning the cards for future moves.

[–] GreatBlueHeron@lemmy.ca 2 points 2 weeks ago

I'd had good luck running similar length copper outside, between buildings, in the past. I had regular blue indoor cat5 just under the surface, tacked to the bottom of fences etc for 7 years and never had a problem with it. Dropping a roll of pre terminated cable built for direct burial in the trench seemed like a no brainer.

With the benefit of hindsight - having that 4' deep trench open was a once in a lifetime opportunity that I should have better taken advantage of.

[–] GreatBlueHeron@lemmy.ca 1 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

I think I've figured it out, but have not fixed it.

I'm fairly sure it's a ground loop type issue. It comes and goes. It ran at 1Gbps for a few weeks at one point and I thought it was resolved, but it's now back to 100Mbps.

I have a few options - I have a pair of Ubiquiti airmax gigabeams that I can put back into service, I can dig a shallow trench and bury some fibre (it only recently occurred to me that fibre is not electricity so doesn't need to be down 2') or I can dig a shallow trench and bond the ground between the two buildings.

The gigabeams are obviously the easiest, the fibre is the best (and what I should have done in the first place) and bonding the grounds would only really be out of curiosity to see if it actually works.

And with your advice I have another option - double check the contacts for cleanliness and possible corrosion.

 

I've been running Home Assistant for a while and have wifi, zwave and zigbee networks. My zigbee is on a ZBT-1. I was happy until this week.

I bought some ESP32-C6 development boards to learn about ESP32 etc. with the goal of making some zigbee lock sensors (mechanical switch to report if a deadbolt is closed).

When I put the sample zigbee code on the board it won't connect to the network from my study, but if I take it closer to the coordinator it will connect and it continues working if I take it back to my study. The desk in my study is only about 16' from the coordinator but it is through 3 wood framed, gyprock lined, walls.

I know the answer is "probably, maybe", but I'd be interested in any insight people have about optimizing Zigbee networks. I could remove one of the walls from the equation by using a longer USB cable and bringing the ZBT-1 out of the utility closet? I already have routers close to 2 of the 3 doors I want to put my sensors in - I could maybe add a Zigbee lamp near the 3rd location?

[–] GreatBlueHeron@lemmy.ca 2 points 3 weeks ago (1 children)

You are correct - they have no legal obligation. They do however have a moral obligation. It seems to me that if corporations want to be people when it comes to things like political donations then they should be people when it comes to their moral obligations as well.

[–] GreatBlueHeron@lemmy.ca 6 points 3 weeks ago

I switched my main desktop from Windows to Linux a few months back. I've been running KDE, but it just doesn't feel right. I recently tried IceWM with the Motif theme and it's much more comfortable. I was a Unix admin in the '90's and '00's.

If I can find an audio mixer applet that works (volumeicon does not like my system for some reason..) and figure out how to stop the screen blanking when Firefox is playing a video I think I'll make the change permanent.

[–] GreatBlueHeron@lemmy.ca 38 points 3 weeks ago (15 children)

I think the bigger question is how many corporations are supporting foss projects? I'm sure a lot of us contribute a bit here and there if we can and I'm sure it makes a difference - but if some of these corporations, making billions of dollars profit, contribute just a tiny fraction of their wealth it could make a huge difference.

It's the same argument as recycling, turning off lights, walking instead of driving etc. etc. - yes there are 8 billion of us and if we all do it, it will make a difference, but the difference we make is still not significant compared to corporate greed.

We are being gaslit to accept yet another scenario where we socialize the cost and privatize the profit.

[–] GreatBlueHeron@lemmy.ca 6 points 3 weeks ago (9 children)

Interesting - mine is syncthing-fork 1.30.0.4. When I go to the App Info page it says "App installed from F-Droid" and when I tap on that button I get a small pop-up that says "No such app found."

 

I've got an IKEA Tradfri LED driver and a Rodret dimmer. When I first installed them I thought it would be good to also control some non-IKEA pendant lights with the same dimmer, in sync with the cabinet lights connected to the Tradfri - so, I created automations in Home Assistant corresponding to each of the actions the dimmer can perform and this is working fine. However, we've decided not to control the pendant lights in sync with the cabinet lights so it's now unnecessarily complicated. I plan to remove the automations and link the Rodret direct to the Tradfri again.

I understand that I can do this by following the IKEA procedure to pair the devices. But I'm also curious about the option in Home Assistant to bind devices.

Finally to my question - are these two methods to achieve the same result, or is IKEA pairing somehow different than Zigbee binding?

 

I've just installed Interstellar and think it looks great. I've been using Jerboa and browser for Lemmy. The announcement of piefed.ca suggested this as a Piefed app, so here I am.

First impression is that I think I'm going to like it a lot - almost feels like RiF that I've been missing for some time. But - I'm finding scrolling really unpleasant - it's really jumpy, or jittery and hard to look at. I'm finding it so bad that I'm surprised it's not mentioned here or on GitHub, and I'm wondering if it's just me?

Version 0.9.3 on Android 15 on a Pixel 8 Pro.

 

I'm a retired Unix admin. I've been using Linux since I installed Slackware 3.1 from several boxes of 1.44MB diskettes. But, working in a corporate environment with lots of M$ Office requirements meant that my work desktop has always been Windows. I know it sounds crazy, but I was really hesitant to switch to away from Windows - I guess after 30+ years I'd developed a bit of Stockholm syndrome. But, Copilot and the looming Recall were enough to push me over the edge.

Anyway - I spent a while making sure I got all my data off OneDrive etc. and then installed Debian 12 with LXDE - my laptop is an older i7 with 16GB of RAM, but lightweight and minimal really appeals to me. Everything just worked and I was happy for a day or two. Then I started noticing video tearing - especially on my 2nd monitor. I did a bit of research and found a suggestion to enable TearFree in the X11 configuration - X wouldn't even start when I did that. So, I did some more reading and now think I understand that the lightweight window managers don't have vsync and this causes the tearing. Apparently the real solution is to use a compositing window manager (I don't understand what that means..) with OpenGL. Oh well, I can't have minimal lightweight - so, I installed KDE. It's very clean and no video tearing. I still don't have it doing power management for my monitors the way I want, but other than that - I'm very happy. It was noticeably sluggish compared to LXDE, but I'm used to that already after only a day.

It's only been a few days, but I have not regretted the switch for one second.

7
submitted 7 months ago* (last edited 7 months ago) by GreatBlueHeron@lemmy.ca to c/joplinapp@sopuli.xyz
 

Edit - I just went to the sync status page in the Windows client and hit "Retry All" on he failed objects again - and it worked! I have not changed anything since last time it failed - but for now I'm happy!

There's probably a lot of overlap between this community and Selfhosted@lemmy.world so some of you might recall my post from yesterday sharing some frustration about Nextcloud. Well today is Joplin's turn :-)

I've been using Joplin on Android for a little while now as a proof of concept - only a 6 notes so far, each only a page or so. One of my reasons for re-trying Nextcloud was because Joplin supports it as a sync method. After the discussion about Nextcloud yesterday I decided to try some of the suggested alternatives.

First I setup Syncthing and got that working so I have some folders syncing between Android, Linux and Windows. Then I setup Joplin to sync to filesystem - into one of the folders that Syncthing is managing. Joplin on Android sync'd everything to the filesystem, but when I tried to sync that filesystem to Joplin on Windows the attachments (photos) were missing from my notes. I can see the files (by id) in the .resource folder of the filesystem sync target but the Windows Joplin client won't pull them in.

I figured this multiple sync (Joplin <-> filesystem <-> Syncthing <-> filesystem <-> Joplin) might be an issue so I decided to try WebDAV. I configured a WebDAV folder my apache2 server, setup Joplin on Android to sync to WebDAV then went to the Windows Joplin, cleared the local data and setup WebDAV sync. Same thing - no photos in my notes. I can see the files are on the WebDAV server and there are no errors in the server logs so I guess the Windows client was able to pull them - but they don't show in the notes.

I tried searching and see several very similar issues on Discourse with no resolution.

Does this work for anyone else?

Edit - I just created a test note in the Windows client with an embedded image and this sync'd correctly to Android.

  • Joplin 3.2.13 (prod, win32)
  • Joplin Mobile 3.2.7 (prod, android)
 

I tried Nextcloud a while back and was not impressed - I had issues withe the speed of the Windows sync that were determined to be "normal" with no roadmap to getting fixed. I'm now planning to move off Windows desktop so that won't be an issue - so I thought I'd try again.

I went to nextcloud.com, clicked on Download-> Nextcloud server -> All-in-one -> Docker image - Setup AIO. This took me to the github README at Docker section. I'm already running docker for other things so I read the instructions, setup a new filesystem for my data directory and ran the suggested docker command with an appropriate "--env NEXTCLOUD_DATADIR=". I'm then left with a terminal running docker in the foreground - not a great way to run a background server but ok, I've been around for a while and can figure out how to make it autostart in the background ongoing. So I move on to the next step - open my browser at the appropriate URL and I'm presented with a simple page asking me to "Log in using your Nextcloud AIO passphrase:". I don't have a Nextcloud AIO passphrase and nothing I've read so far has mentioned it. When I search for it I get some results on how to reset it, but not much help. I could probably figure that out too, but after reading some more I found that Nextcloud requires a public hostname and can't work with a local name or IP address. I'm already running my home LAN with OpenVPN and access it from anywhere as "local" - I don't really want to create a new path into my home network just for Nextcloud.

I'm sorry - I know this sounds like a disgruntled rant and I guess it is. I just want to check that I'm not missing obvious things before I give up again. All I want is a simple file sync setup like onedrive but without the microsoft.

 

I'm a retired Unix (AIX) admin and I run some Linux servers at home. But, I'm still using Windows as a desktop. This whole Windows recall thing is the final straw - I'm switching to Linux for desktop. I've done a bit of research and believe Debian is the best fit for me. So, I recently installed it on one of my small servers.

I like it but I find the "half baked" approach to systemd a bit confusing. My default minimal server install has both cron jobs and systemd timers configured for basic system maintenance tasks. For example logrotate is fired twice a day - once by /etc/cron.daily/logrotate and once by /lib/systemd/system/logrotate.service. I'm tempted confirm that everything cron does is actually also done by systemd and then apt purge cron\* && rm -rf /etc/cron*. But, I suspect that might break future package installs and updates?

I'm also not excited by ifup/ifdown - why not just use the capability already included with systemd? This is just a minor thing for me as there's no real duplication I guess.

Is the a Debian based "pure systemd" distro??

 

I have a project idea and a bit of reading suggests to me that ESP32 might be the best solution. I have never touched ESP32 or anything similar. I have basic electronics understanding and capability - I built a kit Class D stereo amplifier years ago, do my only electrical work on my motorcycles etc. I'm a retired Unix admin. so am confident I can manage the software and programming aspects.

I have strange voltage issues in my home and want to record voltage over time to see if I can correlate anything that might suggest a cause. I need to be able to measure 0 to about 150VAC. Happy to go into the details of my issues if anyone is curious.

My plan is to go to AliExpress and get a 5 pack of "ESP32 Development Board WiFi+Bluetooth" and a 5 pack of "ZMPT101B AC output voltage sensor".

I'm already running Home Assistant and mqtt so am hoping I can use that as my recording and reporting engine.

My questions:

  • is there anything else I'm likely to need?
  • is there any way to find a good, or avoid a bad, vendor on AliExpress for those components? I don't trust the reviews.
  • there are lots of "getting started" tutorials - any recommendations for a good one appropriate for background?
 

... or are notifications just really bad on Android?

For background, we've got an old, sick, dog and my wife often needs to get help from me urgently. I'm still running an old Pixel 4a - it worked really well for me until Google crippled the battery and even now it works well enough that I'm not tempted to upgrade.

My notifications always seem to be delayed - in batches. I have 3 buildings on my property and each has a Nest doorbell. Some days I can be walking around and I'll constantly hear ding, ding, ding as I walk past each doorbell. Other days I can walk around and hear nothing, and then I'll get 5-10 notifications all at once.

Today was a perfect example of why this is so frustrating - I'm sitting at my desk with my phone in front of me. It's plugged in an charging. My phone starts ringing and it's my wife upset that I have not responded to her messages. I go help her with the dog and come back to my phone and sure enough, 8 minutes ago there's a notification from Google Chat, 6 minutes ago there's a notification from Google Messages and 4 minutes ago there's the phone call. The Google Chat and Google Messages notifications never came through - until the phone call came in!

I've been through and made sure that all the battery optimisations are turned off for all the apps that I want instant notifications from - but that shouldn't have any impact here - my phone was plugged in.

Is this normal Android? (kinda rhetorical question - I've been running Android since my Nexus 4 and don't think this is normal but it feels like it's somehow the "new" normal)

I'm not running the stock Pixel launcher - does the launcher get involved in notification delivery at all?

 

I've just had a 2nd USB3 SATA enclosure go bad. I can't remember what the first one was. This one is an Orico MS400U3. It was plugged into a Linux box with one drive and the drive started reporting strange errors so I removed the drive and connected it direct to SATA and it's working fine - after fsck fixed the errors on it. I thought maybe the USB port on the Linux box might be bad so I plugged the Orico into a Windows PC with a known good 1TB drive in it (a different drive than originally gave errors) - Windows sees the drive as 115PB and won't let me format it.

Is there any explanation for this other than the controller board in the enclosure somehow failing?

I'm thinking of going for this StarTech one next. Any other suggestions?

 

I'm really disappointed with myself. I thought I would enjoy, and be good at, sharpening knives. I don't and I'm not! I have two Shapton water stones and I can get a nice edge on my chisels with a jig that maintains the angle for me, but I just can't get a good edge on a knife. I don't know if I'm not patient enough, if I just can't hold the angle well enough or what, but I give up.

My wife is, understandably, frustrated with a kitchen full of dull knives and bought one of those drag through carbide/ceramic sharpeners and I can't even make that work - I drag a blade through a few times, there is a pile of swarf in the sharpener, the blade looks sharp - but it's dull as dull, maybe even worse than before "sharpening".

We have a range of knives from grocery store mild steel, through decent consumer Mundial and Victorinox to one low end nice Global.

Appreciate any suggestions!

view more: next ›