peregus

joined 2 years ago
[–] peregus@lemmy.world 1 points 4 months ago

Sorry, I've missed your reply. No, I haven't integrated any of them into HA; what is your need for such integration? I've only exposed a Node Red webook: Node Red receives coordinates from my car/smartphone/something else and distributes them to Traccar and Dawarich.

 

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?

[–] peregus@lemmy.world 1 points 6 months ago (2 children)

I'm gonna give you my setup even if it's not what you've asked. I use Tasker to automatically start GPSlogger whenever Içm not connected to a known WiFi. GPSlogger sends data to NodeRed (it could send the directly to Traccar) that sends it to Traccar and Dawarich (if you don't know it, try it!). You could easily send the position to HA with "call service" or an HTTP request

[–] peregus@lemmy.world 2 points 6 months ago

The SSD nowadays have a very high write limit, unless you'll keep writing data on them constantly, you'll never worn out. You will have to write about 500 times the whole SSD to wear it out (some thousands for enterprise SSDs).

[–] peregus@lemmy.world 2 points 6 months ago

I've used about 10 years ago too, but I've heard that now it needs a Mikrotik device but I've nver had the time to test it

[–] peregus@lemmy.world 1 points 6 months ago (2 children)

Can it discover non Mikrotik devices?

[–] peregus@lemmy.world 1 points 7 months ago (1 children)

How would you create the remote repository? With rest-server?

[–] peregus@lemmy.world 2 points 7 months ago

Got it, good idea, thanks!

[–] peregus@lemmy.world 1 points 7 months ago (2 children)

I'm sorry, but I still don't understand what you mean. Could you please elaborate bit? Thanks!

[–] peregus@lemmy.world 3 points 7 months ago (2 children)

Why Tailscale AND Headscale? Arent't they the same thing?

[–] peregus@lemmy.world 5 points 7 months ago (1 children)

Definitely a good suggestion!

 

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!

[–] peregus@lemmy.world 2 points 7 months ago

I'm using a M720q with an Intel i5-8400T for the same purpose and I'm happy with it.

[–] peregus@lemmy.world 3 points 7 months ago

I've abandoned Contabo a couple of months ago and I've never been happier! One of the worst customer service ever and the resources that they specify in the plans don't seems real to me.

 

Hi all!
I often struggle to remember where/if I've ordered a product (my email account is a mess, my own fault!), how much I've paid and if it was for me or for some member of my family. Is there a self hosted service that you've tried and find helpful that can do this kind of job?

 

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?

 

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!

 

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!

 

Is it possibile to create an IP whitelist? I get constantly banned by different HA servers (home, office, etc.) from my smartphone and everytime I need to edit the ip_bans.yaml file and restart HA.

 

Hi all!
I have 4 HA servers in different locations (home, officer etc.) and using the 3 fingers to change server every time is a pain in the ass. Is there any way to open the app directly to a specified server? I've had a look at the widget, but I couldn't find anything. Thanks!

 

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?

 

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?

 

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.

 

I've a VLAN dedicated to IoT devices and, of course, HA can't discover them. Is it possible have them discovered by HA via MQTT? Create them manually it's a pita because they're a lot and I would have to create sensors/switches + battery level + RSSI Thanks!

view more: next ›