Spyke

Posts

Modbus problem

In the office we have an automation system that talks in modbus. Right now I have Node Red that receives data from modbus (via IP), sends it to MQTT and send messages from MQTT to modbus. In HA I have 15 MQTT climates that works. I want to bypass Node Red; I've added an automation that gets triggered when a MQTT values arrives and sends the new value to mobus:

alias: Climate_update_modbus_setpoint_studio1
description: ""
triggers:
  - trigger: mqtt
    topic: home_assistant/thermostat/setpoint/Studio1
actions:
  - data:
      hub: picnet
      address: 1099
      value: "{{ (trigger.payload | float * 10) | int }}"
    action: modbus.write_register
mode: queued

The problem is that the modbus change takes a lot.

  • I change the climate setpoint, after about 0.5 seconds the MQTT value changes and the automation gets triggered
  • the modbus register changes in a range of about 0.5-3 seconds
  • sometimes the automation gets triggered and I see the trigger bar yellow instead of blue and the modbus register changes after longer

With Node Red I have no problem with modbus. What can I check to try to find the source of the problem?

View original on lemmy.world
7

UPS: how to turn the server back on?

I've installed an APC BX950MI-GR and connected it to my Proxmox server via USB. It works: it turns off the server after x minutes after the power loss and it gets turned off by the command upsdrvctl shutdown, when the powers come back on, the UPS turns on and so does the server. The problem is if the power comes back after the server receive the power off signal and before the UPS powers off, in this case the UPS simply goes back in the normal state and the server...stays off. How can I turn it back on? Thanks!

View original on lemmy.world
15
selfhosted·Selfhostedbyperegus

How to send backups on multiple location?

I have 3 servers:

  • my house
  • my sister house
  • my parents house

My server has a lot of services (Nextcloud and Immich the ones that use more space), the other 2 servers only have Home Assistant, Frigate and some shared folders. On my server I use Backrest to backup locally and on Wasabi, the other 2...well...are not backed up 🙈 ...yet!

I was thinking to buy a couple of 14/20TB drives and install them in my parents and sister servers so that each server can backup data on the other 2. The backup will be done locally on all the servers with Backrest. How do I copy the backups across servers? Should I use Syncthing or is it better to use one repository per location on each Backrest? Or...other ideas?

Thanks!

View original on lemmy.world
39
yepowertrippinbastards·Ye Power Trippin' Bastardsbyperegus

Lemmy.ml and its moderation, am I getting something wrong?

Yesterday I was reading the post about the FUTO keyboard where there were a lot of messages deleted by moderators.
I've commented there

What the heck happened with all the messages deleted by moderator?

And it got deleted. Right now you can only see 4, but I've counted 19 messages moderated and the post has been locked. Why?
I've had a look ad the modlog and the messages don't seems to violate any policy (now they've removed them in the modlog too).

I'm pinging here lemmy.ml admin and the mods of the open source community where the post was posted so they can have their say about it and clarify the situation to me.
@[email protected] @[email protected] @[email protected] @[email protected] @[email protected] @[email protected] @[email protected] @[email protected] @[email protected]

If I'm getting something wrong, please let me know, I'm here to discus and understand if I'm getting something wrong or if something went wrong in the moderation. Thanks!

Down here you can see the deleted comments.

P.s. I'm writing here because I think that this post on lemmy.ml wouldn't last long.

View original on lemmy.world
71

Shelly devices not discovered

Hi all! I have a HA server in my LAN and all my IoT devices are in a separate VLAN. In this way to insert all the devices I have to configure them all manually using MQTT commands. Since I'm fed up about this method, I've added a second NIC to the HA VM (Proxmox) that is in the IoT VLAN. When I enter the terminal I see that HA has 2 IPs, one for each network and I thought that all the Shelly (they use the same MQTT broker that uses HA, they're not configured for cloud connection and ColoT is enabled) devices would appear in HA, but...they don't. How do you think that I can troubleshoot this problem?

View original on lemmy.world
17
selfhosted·Selfhostedbyperegus

Immich: upload also duplicates

Hi all! I've just installed Immich and so far I love it! I'm trying to upload about 1000 pictures, but in the upload process (web UI) automatically evaluates the duplicates and don't upload them. The ones that it evaluates as duplicates are not real duplicates, but are rather very similar pictures that I prefer to decide myself which one to keep. Is it possible to disable the duplicate recognition during upload? Thanks!

View original on lemmy.world
40
selfhosted·Selfhostedbyperegus

E5-2620 v2 vs i7-6700k

Hi everybody!
I want to move my selfhosted services from a VPS to a PC in my house.
I have an E5-2620 and a it-6700K, which one would you pick and why?
The E5 already has 2 PCI-X each with 4 NIC (that I need to use with OpnSense to share my Internet connection with my neighbor) that I would need to throw away and buy as PCIe for the i7.
Thanks!

View original on lemmy.world
11
kde·KDEbyperegus

[Solved] Konsole menu is missing

I want to add a shortcut to create new tab in Konsole, but I want it to be local and not global (CTRL+T is already used by another application). I've searched and it seems that I need to go to Settings → Configure Keyboard Shortcuts, but I don't have the settings anywhere. I read that I should have a menu bar, but...I don't. What's going on with my Konsole??? Thanks!

View original on lemmy.world
14
kde·KDEbyperegus

Divide screen each with it's own panel

Hi everybody!
I've just installed Kubuntu and I'm using Linux gui for the first time.
I have 2 4K screens, one horizontal and one vertical. With Windows I divide the horizontal one in 4 equal parts and the vertical in 3 parts so that all are almost 16:9 and each have it's own taskbar that's so useful to me because I know what I've opened in every virtual screen and if in virtual screen there is Outlook, but I need to take in foreground Chrome that I know it's there (but it's also in other screens), I can click on Chrome on the virtual screen 1 taskbar. If there are no multiple taskbar, I would have to click on Chrome on the main taskbar and select which window I need (which can be problematic because not always it's possible to see what's going on in the small preview).

Is this or something similar possible with KDE plasma (I'm on 6.1.5).

Thanks!

View original on lemmy.world
7
hardware·Hardwarebyperegus

New AMD build suggestions

Hi community!
I'm in the process of building a new office PC for:

  • tenths of firefox tabs open some with Microsoft 365 Excel
  • some VMs because I will be installing Debian on the host, but in the office we use some Microsoft software and because, since I install, uninstall, create a lot of mess, I like to be able to go back to old snapshots or format and reinstall Windows without impacting my day to day job.

I'm still undecided about the CPU: AMD 9950x, 9700x or 7950x, but where I' completely blind is the motherboard. What I would like:

  • more than 2 PCIe slots to:
    • install a PCI USB card to pass the whole controller to a VM
    • install an extra NIC
    • I want to be able to install a graphic card in future if needed
  • more than 4 USB-A ports
  • more than 1 USB-C port
  • a well known and reliable brand

Do you have any suggestion even for an SSD (probably 4TB, in the 2-300€ range, maybe even something more) and RAM (64GB)?

Thanks!

View original on lemmy.world
15
linux·Linuxbyperegus

Switch to Linux: any suggestion on a virtual screen manager like DisplayFusion?

I want to switch from Windows to Linux for my office PC.
I will be using multiple Windows VM because in the office we use multiple software that runs only on Windows (maybe we'll switch to something else, but right now I need the VMs) and because i like to snapshots and go back in time when I test new software.
I thought about Ubuntu because it seems to be the most user friendly.
I always work with a tons of opened windows (mainly Firefox) and I like to have a place for each of them, Right now on Windows I use DisplayFusion that creates multiple virtual screens (7, 4 or the 32" horizontal monitor and 3 on the 28" vertical one, both 4K), I've attached the configuration.
So, the question: is there a software that works kinda like DisplayFusion? (virtual screen each with it's own taskbar, maximize in each of them, remember the position of each window, ...).

P.s. Can I pass only some USB port to a Windows VM using KVM?
Pp.s. Is it possible to use Premiere on a Windows VM? Would it run smooth?

View original on lemmy.world
33

Does anyone use decentralized data storage for backup?

Years ago I came across filecoin/sia decentralized data storage and I started trying them but then I stopped due to lack of time. Some days ago I've heard in a podcast about a kind of NAS that does kinda the same thing: it spreads chunks of data across other devices owned by other users.

Is there a service that does this but with your own hardware or, even better, something open source where you can have X GB as far as you share the same amount of space plus something extra?

It would be great for backup.

View original on lemmy.world
22
selfhosted·Selfhostedbyperegus

Selfhost and play Spotify playlists

When I go on vacation I prefer to keep my smartphone with WiFi and mobile data off, but I really don't like the way Spotify handle offline content. Most of the time it doesn't download everything and when I do a research, it show me even content that's not available offline (how can it do that?). Is there a selfhosted service that I can use to download my playlists and play them with an Android app that can download them?

View original on lemmy.world
32

Companion app: force sensors update with intent

I'd like to use my smartphone WiFi SSID to determine if I'm home or not. When I'm home the alarm (kinda, just notifications from some sensors) needs to be shut off and a light needs to be turned on. Since the sensors update can be forced at maximum 1 minute (but I'd prefer to leave it at 15 minutes to preserve battery) and since 1 minute is too much, is there a way to send an intent to HA companion app to send a sensors update? I would use Tasker to send the intent.

View original on lemmy.world
22