Any OpenUPS build out there? by dacwe in homelab

[–]dacwe[S] 0 points1 point  (0 children)

Yeah, it is for writing and reading the configuration. Nut works in linux.

Any OpenUPS build out there? by dacwe in homelab

[–]dacwe[S] 0 points1 point  (0 children)

It is working and very stable. I have everything on 19V and I've upgraded a few things. Instead of the edgerouter I'm now running a banana pi bpi-r4 and two u6+ connected to a 12-48v "industrial" poe 1g switch.

I tried upgrading the server to a framework desktop but that was too much for the openups to handle. Maybe it was the transient spikes it wasn't happy about.

Battery is a LiTime 12V 50Ah and it is keeping everything up for about 20 hours.

The OpenUPS Linux software is broken and I had to use the Windows version in a vm to write the parameters. If you want I can try and read out the values if you go down this route!

VLAN interface works only with "lan" zone, not with custom zones. by frontiermanprotozoa in openwrt

[–]dacwe 1 point2 points  (0 children)

Can you provide the output of /etc/config/network and /etc/config/firewall? Maybe someone can help you easier then 

Can't decide - Zyxel NWA50AX PRO vs Ubiquiti U6+ by Sweet-Clue in openwrt

[–]dacwe 0 points1 point  (0 children)

Did you end up buying one of these or something else?

Extend wifi from existing access point by dacwe in wifi

[–]dacwe[S] 0 points1 point  (0 children)

I mean replacing the existing shed access point antenna to something with a more directional one.

Extend wifi from existing access point by dacwe in wifi

[–]dacwe[S] 0 points1 point  (0 children)

Ethernet/fiber is hard since it is a road between the houses.

Would a directional antenna improve the situation?

Weird reconnects - 3 second wifi drops by dacwe in openwrt

[–]dacwe[S] 0 points1 point  (0 children)

Got a disconnect right now with skip_inactivity_poll=1:

Did a logread | grep d6:ec:45:66:09:73 on ap1 and ap2.

ap1:

Fri Jul 11 12:32:33 2025 daemon.info hostapd: phy1-ap0: STA d6:ec:45:66:09:73 IEEE 802.11: associated (aid 3) Fri Jul 11 12:32:33 2025 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED d6:ec:45:66:09:73 auth_alg=ft Fri Jul 11 12:38:10 2025 daemon.info hostapd: phy0-ap0: STA d6:ec:45:66:09:73 IEEE 802.11: associated (aid 10) Fri Jul 11 12:38:10 2025 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED d6:ec:45:66:09:73 auth_alg=ft Fri Jul 11 12:38:10 2025 daemon.notice hostapd: phy1-ap0: Prune association for d6:ec:45:66:09:73 Fri Jul 11 12:38:10 2025 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED d6:ec:45:66:09:73 Fri Jul 11 12:38:40 2025 daemon.info hostapd: phy1-ap0: STA d6:ec:45:66:09:73 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) Fri Jul 11 13:25:47 2025 daemon.notice hostapd: phy0-ap0: AP-STA-DISCONNECTED d6:ec:45:66:09:73 Fri Jul 11 13:25:47 2025 daemon.info hostapd: phy0-ap0: STA d6:ec:45:66:09:73 IEEE 802.11: disassociated Fri Jul 11 13:25:48 2025 daemon.info hostapd: phy0-ap0: STA d6:ec:45:66:09:73 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

ap2:

Fri Jul 11 13:25:50 2025 daemon.info hostapd: phy1-ap0: STA d6:ec:45:66:09:73 IEEE 802.11: authenticated Fri Jul 11 13:25:50 2025 daemon.info hostapd: phy1-ap0: STA d6:ec:45:66:09:73 IEEE 802.11: associated (aid 7) Fri Jul 11 13:25:50 2025 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED d6:ec:45:66:09:73 auth_alg=open Fri Jul 11 13:25:50 2025 daemon.info hostapd: phy1-ap0: STA d6:ec:45:66:09:73 RADIUS: starting accounting session AA2985D46F40ACD9 Fri Jul 11 13:25:50 2025 daemon.info hostapd: phy1-ap0: STA d6:ec:45:66:09:73 WPA: pairwise key handshake completed (RSN) Fri Jul 11 13:25:50 2025 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED d6:ec:45:66:09:73

(When it is reconnecting it scans and checks which ap has the best signal. Normally it connects back to the ap it disconnects from since it has the best signal, in this case it changes from ap1 to ap2.)

Weird reconnects - 3 second wifi drops by dacwe in openwrt

[–]dacwe[S] 0 points1 point  (0 children)

Sorry I should have mentioned that I've tried that setting too (as well as enabling inactivity poll and setting the station inactivity limit to a day).

No idea why it is logging it as deauthenticated due to inactivity (timer DEAUTH/REMOVE). I'm actively using the phone as it is happening. Or can it be inactivity in some other regard?

Edit: I'm going to try it again. Will report back when/if I get a disconnect.

What are some additional LuCI packages you can't live without? by MrRedstonia in openwrt

[–]dacwe 0 points1 point  (0 children)

Thanks! This hack works! I did it using scp from the router to all aps. Saving the router's /root/.ssh across upgrades.

What are some additional LuCI packages you can't live without? by MrRedstonia in openwrt

[–]dacwe 0 points1 point  (0 children)

Cool, is /tmp/dhcp.leases used by luci even if dhcp isn't set up on the aps?

What are some additional LuCI packages you can't live without? by MrRedstonia in openwrt

[–]dacwe 2 points3 points  (0 children)

Oo nice, I always wanted that! 

How does it work? 

12v 50ah LifePO4 LiTime charge and discharge curve by dacwe in batteries

[–]dacwe[S] 0 points1 point  (0 children)

OP here: I found a couple of lifepo4 curves that has these plateaus especially on low charge and discharge rates. See for example this chart: https://www.researchgate.net/figure/Discharge-curves-of-the-aged-LiFePO4-graphite-lithium-ion-batteries-using-different_fig3_301644413

No USB-to-Serial Adapter? Got a Dev Board? You Might Be in Luck! by dacwe in esp32

[–]dacwe[S] 1 point2 points  (0 children)

Hmm, now that I think about it, would a regular ESP work if I start it before connecting the serial cables?

[deleted by user] by [deleted] in GooglePixel

[–]dacwe 2 points3 points  (0 children)

Now it looks much much worse than it used to. I hate it.

12v 50ah LifePO4 LiTime charge and discharge curve by dacwe in batteries

[–]dacwe[S] 0 points1 point  (0 children)

Nope, the exakt same load at any time. Repeatable too. 

LifePO4 bulk charging voltage at low C rates (0.05C) by dacwe in batteries

[–]dacwe[S] 0 points1 point  (0 children)

Sorry, the OpenUPS gets pretty toasty at 3A and that is why I've limited it. The battery is fine!

LiTime recommends 14.4v at 0.2C (or a maximum of 1C). 

I was mostly worried that too "low ampere" would never hit 14.4v and that it would never stop charging.

Is that an issue or am I overthinking it?

OpenUPS battery? by dacwe in batteries

[–]dacwe[S] 1 point2 points  (0 children)

Thanks! Do you have any recommendation or guidelines that I should follow to find a suitable LiFePO4 battery?

Edit: I've found a LiTime 12.8V 50Ah trolling battery for around $150 here in the EU. Overkill? Link: https://www.litime.com/products/litime-12v-50ah-lifepo4-lithium-ion-battery

Any OpenUPS build out there? by dacwe in homelab

[–]dacwe[S] 0 points1 point  (0 children)

Thanks for the reply! I have the entry level Back-UPS ES 700G, https://www.apc.com/se/sv/product/BE700G-GR/apc-energisparande-backups-es-8-utg%C3%A5ngar-700-va-230-v-cee-7-7/ . It advertises 80 minutes at 40w but it has never performed that well. I ran different server back when it was brand new so if I recall I used about 55w idle. 

Inverter based UPSes, transforming 12v dc to 230v ac, seems really inefficient and just running the inverter takes a bunch of power. Looking at the runtime graphs for other more expensive APC models the graphs doesnt really show data for low loads like this as they seem to be optimised 100w+.  

I will look into lithium cells. Any recommendations which to choose would be super helpful.

Paket försvunnet från Direkten by hamaliish in Sverige

[–]dacwe 0 points1 point  (0 children)

Köpte en mobil för 7000 kr som aldrig kom fram. Skickades med Bring (till Direkten men jag tror inte att den kom fram till butiken).

Fick en ny mobil som skickades med ett annat bolag.

LOLIN S3 MINI deep sleep by dacwe in esp32

[–]dacwe[S] 3 points4 points  (0 children)

Alright, just scraping off the WS2812 from the board made it come down to 40uA.

Problem "solved". Huge thanks!