Spyke

Posts

Need some help understanding code flow. IE: ESPHome, YAML, and code pulled from github.

Hi!

**My ask up front: **Can someone walk me through the process of how a github project written in python winds up interacting with YAML on an ESP32? Looking for some orientation so I can "RTFM" better.

Background: I have Espectre up and running in my house, which is cool. What I also have in my house is LED crown molding controlled by WLED.

I think the ESP-32s I'm using for the lighting have enough juice to run both items of code (and probably a few other sensors). However, I don't know how to combine them.

What I'm specifically confused about is when I provision a device with ESPHome, I'm not actually clear on what it does. As in: I gather it's making a framework specific to the board to handle running the code in the YAML, but I'm not sure what that looks like specifically. Which means I don't know how to take the code from WLED or ESPectre and also include it (is it as simple as an include?) so that I can make YAMLs that utilize the functionality those to projects provide.

I am especially confused what is happening when YAML code calls specific github projects. Is it literally pulling code from the repository?

For context I have decent capability and experience, but mostly within code, bridging multiple architectures like this is new. I have stumbled on for years doing some fairly advanced projects, but I mostly am a very determined monkey banging on a type writer.

View original on lemmy.world
9

Help with Honeywell T6 ZWave? Partial success..

Hi All!

Recently purchased a Honeywell t6 Pro Z-wave thermostat, and a Zwave dongle to go with it.

I'm running HA in docker, so I spooled up the Z-wave JS UI in a seperate docker container as well. I then added the HA integration for Z-wave and got it talking to the ZwavejsUI

I can tell something went right because the thermostat shows up in the HA integration as "Node 2", but there aren't any exposed entities that have anything to do with thermostat functions; It shows things like "node status", "ping", etc.

Edit: It also shows up as a "unknown manufacturer" and product in ZwavsJSUI

So something is working... just not as a thermostat.

Any help? I'm a few steps away from returning it and just using a shelly relay to short the two wires together.

View original on lemmy.world
14
homeautomation·Home Automationbybatmaniam

Color matching LEDs?

Hi!

I have crown molding LED lighting I'm doing. Its turning out well, but most rooms need multiple strips. Not a problem, but the two strips are slightly different color temp. Does anyone know if there's a setting I can play with to get them closer to alignment?

Setup notes:

  • addressable LED strips
  • 24v with oversized power supply
  • driver running WLED
  • two channels on same driver (one strip per).
  • strip lengths are very close but not identical length
View original on lemmy.world
3
homeautomation·Home Automationbybatmaniam

Home Assistant Text Input Box for Lovelace

Hi All,

I was lucky to have implemented a really cool HA project at work; we have all of our reactors running on ESPHome, reporting to HA. All setpoints are maintained locally, so HA just aggregates the data and acts as the interface to change setpoints; HA is not involved with any control loops, so you could take an axe to the server and the reactors would happily chug along none the wiser.

My Question: Are there any tools that allow for easy field inputs, like one would in excel?

We check our reactors twice daily manually, and that won't change. It's how we assess things like sensor drift, notice little maintenance items/flow balance issues etc. Someone uses a clipboard and fills out a whole worksheet, then this worksheet is entered by a supervisor (me) into a large, rolling spreadsheet.

What I'd like to do is not automate, but digitize that process. We will already be implementing tablets for a reactor readout, I'd like to create a dashboard that an operator inputs read values (all sensors are backed up by analog, physical indicators). Are there any dashboard tools that allow that? Either vanilla or HACS is fine.

Thanks!

PS: I'm "stealing" the code for my home bog garden. Boss is fine with me sharing it, but I'm going to do so after I implement it at home so I can be sure there's nothing proprietary or identifiable in the YAML. We don't do code/software so boss doesn't care, but reactor setpoints etc would be bad. But when I open it up it'll be a plug and play system for controlling multiple levels, flow, pressure, pH, temp.

View original on lemmy.world
7

NFC Tags and Wireless Charging

Maybe not the correct place but I know a lot of folks use NFC tags to trigger automation.

Does anyone have experience with a tag in-between their phone and the wireless charger? I have a few wireless charging stands I'd like to set automations to (ie: "I've set my phone on the nightstand charger, X,Y,Z lights should be set to red if they're turned on now"). I'm just not sure how close the freqs both use are (and even less sure of how much interference causes issues).

So yeah, has anyone used an NFC tag in-between their phone and wireless charger without melting either?

View original on lemmy.world
16

Are Tuya local keys permanent (like a MAC address)?

Hi All,

Bargain outlet near me had a bunch of the “monster smart illuminessence” stuff at a price that made me try one.

A few hours later and I have them running properly on LocalTuya. I went and scooped up a bunch more given the success.

My question is: When is the local key issued and when does it change?

I’d like to get them all taken care of and put in the box with key written down so I can delete the official tuya app, and also not have to worry about if Tuya will change it’s dev policy so I can’t get access to the keys anymore.

As a side note, I’ll give Tuya credit, I can easily see where that is a great tool for folks looking to offer smart goods… it’s also exactly why I’ll always be local only.

View original on lemmy.world
10
homeautomation·Home Automationbybatmaniam

Are Tuya local keys permanent (like a MAC address)?

Hi All,

Bargain outlet near me had a bunch of the "monster smart illuminessence" stuff at a price that made me try one.

A few hours later and I have them running properly on LocalTuya. I went and scooped up a bunch more given the success.

My question is: When is the local key issued and when does it change?

I'd like to get them all taken care of and put in the box with key written down so I can delete the official tuya app, and also not have to worry about if Tuya will change it's dev policy so I can't get access to the keys anymore.

As a side note, I'll give Tuya credit, I can easily see where that is a great tool for folks looking to offer smart goods... it's also exactly why I'll always be local only.

View original on lemmy.world
3
3dprinting·3DPrintingbybatmaniam

Flashforge AD5X, how long do nozzles last? Premature wear

Hi All,

This will be difficult to pin down, but getting pointed in the right direction would be helpful.

Purchased a FlashForge AD5X ~5 weeks ago. Worked great, one button calibration out of the box, I proceeded to do what everyone does when learning: print a bunch of stuff, mix success and stumble over the usual stuff. Ie: Learned why you clean the bed, learned how supports work, deal with filament breaks etc etc.

About a week ago I had a print fail, it looked like there was a broken filament that wasn't being pushed. I do a cold pull on the nozzle, and was able to print successfully for a time (although there were some small features on some prints that seemed sloppy compared to previous prints).

After that though ALL my prints started to fail. Even after cleaning the bed, double checking bed/nozzle temp, I'd get bad adhesion. I'd also get the nozzle dragging through layers, as if the Z was off (even after running calibration repeatedly and before each print). There was some popping and oozing, which I put up to not storing my PLA dry (although ambient was only ~40%). However the problem persisted even with a freshly opened vac-sealed (confirmed seal was good) roll of PLA.

I ordered a replacement nozzle that arrives today, but can anyone give me some insight? I only ran ~2kg of PLA through, that seems like really premature wear; I must have done something wrong.

Thanks for anything putting me in the right direction.

View original on lemmy.world
12
selfhosted·Selfhostedbybatmaniam

Can/should I just use a networked folder as a duplicati backup destination?

Stumbling through getting a proper backup regime in place. I have an unraid system running a proper array, and am trying to setup backups for two separate machines (one windows one debian). I've successfully setup a file share, and have duplicati running. Are there disadvantages to just setting the network folder as the destination for the backup? It seems a little hamfisted (and the data rates are terrible).

It seems like there's probably a better way to do this...

View original on lemmy.world
25
buildapc·Buildapcbybatmaniam

Tips/Getting started on a custom "case"? (ESD protection, cooling, etc)

Hi All,

I have a somewhat ridiculous setup where I have:

  • 4 monitors all fully adjustable arms
  • 2 totally separate PCs (one running windows for mostly work, the other debian for sanity)
  • all monitors going through switches so any can be either machine with the push of a button (in any combination)
  • A M&K switch that swaps my M&K from one machine to the other by double clicking the scroll wheel.

As you can imagine this takes some space. I have both boxes under my desk towards the edge, and have a three section cabinet in front of my desk to neaten everything up/hide cables. It's kind of like the one in the picture, except mine would be an isosceles trapezoid from a top view.

It works well, but I don't really use the cabinet as, well a cabinet. What I'd like to do is mount each computer in the left and right area of the cabinet. At some point, I'd get around to getting an old electric fireplace (preferably a craigslist or garage sale on that didn't work as a heater), take the door off the center cabinet, mount the fireplace in there and tie brightness to fan speed (that part I can do). As a bonus I'd put a mechanical vent switch that let me output heat to the front, or behind, where my feet are under the desk.

My question is: what do I need to do to ensure proper grounding? Also, are there any rules of thumb for air circulation? Any other pitfalls you might be able to think of?

I am also considering putting the guts of both PC's in the center section of the cabinet, but I think that would make it a bit crowded for the fireplace insert.

View original on lemmy.world
3

Security/FULL self hosting? Looking for info before starting...

Hi All,

Looking to steer into HA, but have some questions on how data is handled.

First, I don't mean the opt-in on the scant analytics. HA is very clear about that which is great. Awesome clear policy.

Second, I understand that "integrations", which use a device manufacturer's/services software/infrastructure, are outside scope here (although I do have some questions).

My goal is to find and work a system where no one knows when my lights are turning off and on, and is only on my hardware. IE: If the internet went down, but I was still connected to local wifi, can my HA still work?

The answer seems like a strong "yes", but I want to double check. I also want to make sure if I do use an integration that there's not an avenue for telemetry beyond that integration. IE: I don't want Spotify to gain access to what temperature I keep my house just because I want to play music.

I also have questions about the mobile app, but if the rest is truly locked down, I can navigate that.

I currently have an automated bog garden, but how I did it isn't really scalable. It's all modbus components with values passed to a local server to generate a dashboard. I'd like to expand to more actual "home" automation, and this seems like a great tool!

Thanks for any clarification.

View original on lemmy.world
32

question on how multiple simultaneous IPTV users works

I'm considering spinning up a xteve instance to add IPTV to my server, and have some VERY high level questions. While I may purchase a subscription, my main goal is to implement a workaround I've seen where I can get RSTP fed into xteve and made accesible via the plex app.

I'm looking to do that RSTP work around for two reasons:

  1. It would be fun to add access to some camera feeds (fish, bird feeders, etc) for some people who use my plex.
  2. I occasionally put up broadcasts via owncast. Half the people that would like to see those broadcasts are capable of using plex, but stumble around with VLC (and them being able to use plex is a minor miracle in the first place).

So I'm confused about how a few scenarios would be handled:

  1. Owncast broadcasting a channel on plex via xteve, with ZERO other available channels. How are multiple simultaneous viewers handled (as in, whats the experience like on their end)?
  2. Owncast broadcast as a channel on plex via xteve WITH additional channels available through an IPTV provider. If one user puts on the owncast broadcast, and the other puts on some other channel, does it switch for both of them? Boot one out?

Thanks for any input. I'm not really at the point of trying to technically implement, just looking to generally understand how all this funnels.

View original on lemmy.world
9
advrider·Adventure Motorcyclebybatmaniam

Foot peg question?

Just a preference thing I guess, but I'm curious where people fall. On my gen1 KLR I had stock foot pegs, and I liked them because they were narrower, and sort of "locked in" to the arch on my boot when I was standing.

My Gen2 KLR and now my KTM both have wider pegs, I know thats better for tarmac, and they seem to have plenty of bite, but I never quite got used to it.

Anyone else feel similar? Just looking for some input before I "downgrade"

View original on lemmy.world
4
advrider·Adventure Motorcyclebybatmaniam

Any KTM 1190 riders here?

Hi All,

I'm getting a great bike in the worst way. The guy that got me into all this at like 10 years old passed on, and as no one in his family rides, the family wants me to keep the miles rolling.

I'm thrilled, and while I was a little intimidated by the size, it's only 20lbs heavier than my KLR, and the height is no issue as I'm a tall rider; I can flat foot just fine. Took it around the block and it was... transcendental. I had no idea that much power could be that nimble.

My question is what are some big maintenance items I should prioritize? I'm coming from the unkillable pig of a KLR. this is going to be a bit of an adjustment. Also, the bike was very well maintained but his health was bad for about a year. The ride I took around the block was great, but the front suspension seemed a little bumpy for pavement. It's got mixed use tires on it so it's possible it was just the tread on pavement, just being a little paranoid.

I also smelled some burning plastic when I fired it up, but am willing to bet it might have been some kind of weird dust in the exhaust; there was nothing dangling anywhere hot and it did go away.

So yeah, just looking for some general tips and icebergs to avoid. I do most of my own maintience but again that's on gen I and gen II KLRs

View original on lemmy.world
4
python·Pythonbybatmaniam

Simple average color library for video? (edit: closed, problem wasn't the problem)

Hi All,

I'm screening a large media library (20TB) wherein some files got corrupted when I did a transfer via filezilla (by my guess ~10%). The corrupted files display with a green "filter" over every frame (when played via plex and a number of local video players playing the file directly).

I'd like to screen the library, and want to write a script to get an average color reading.

Are there any libraries that would let me return a value AND specify how many frames I want it to take the average of? Because of how consistent and defined the issue is, it's really not necessary to average the whole file.

It would also be great if it automatically skipped non-video files, but I imagine a simple "try/except" would be fine.

My skill level here is best described as "high level hobbyist". I'm familiar with what I need to do iterating over the folder etc, but would prefer not to learn how to pull specific frames from a video container unless I have to.

Thanks for any help!

View original on lemmy.world
12

How to screen a 20TB library for corrupted files?

Hi All,

About a year ago I transferred all my files to a new drive. I used filzezilla which did mostly ok-ish, but I didn't notice that some of the video files were corrupted. Random files will have a green tinge to them (like someone put a green filter over the lens).

It seems random, although if it's a series it's usually the whole series.

I've been replacing them as they come up, but I was wondering if anyone had any bright ideas to expedite the process.

Thanks for any help!

View original on lemmy.world
15
advrider·Adventure Motorcyclebybatmaniam

Programmable bluetooth button? Any recs?

I have the chubby button v1.0 for my music and love it. Only thing is I'd love something to cue my phones voice command like in my car. The chubby button 2.0 does that (by letting you program a function), but 1.0 doesn't and it's still a perfectly bomb proof bit of hardware.

Does anyone have any recs on a real simple, weather proof, button I could ideally wrap onto my crossbar?

View original on lemmy.world
3
greenspace·Nature and Gardeningbybatmaniam

Advice on wintering capers and/or olives indoors? More in comments

Hi All,

First year with olives and capers. I live in a region where they're barley happy in the summer and definitely wouldn't survive the winter outdoors.

I knew that getting into it, and have space set aside for them. I also have grow lights that probably do better than what they got during the summer. So my question is, what kind of environment do I give them so they think it's winter?

Like I said, if I crank the grow lights I wouldn't be surprised if they flowered over winter, and I don't want them losing track of the seasons (unless they don't really care).

Any tips?

View original on lemmy.world
2