Search found 2580 matches

by Egregius
Thursday 05 June 2025 13:07
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

Ha, the access key was stored in plain text in the database :)

Repo should be up to date, updated 3 minutes ago. But probably something was wrong with the cron job as the previous commit was from May 13th.

I will probably not be visiting this forum often anymore. For any tips on Pass2PHP search me ...
by Egregius
Thursday 05 June 2025 9:16
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

I guess so ;)
Still some work to do but 98% is operational.
Mostly need to move my Xiaomi bridge, if I can figure out the access key.
by Egregius
Monday 02 June 2025 14:53
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

As of now my Github repo pass2php is no longer compatible with Domoticz. It's rewritten to suit Home Assistant MQTT Statestream.
If you still like to use it, as example or anything, you'll have to browse the history to a date before today.
by Egregius
Thursday 09 January 2025 8:52
Forum: Forum feedback
Topic: This forum
Replies: 32
Views: 23497

Re: This forum

I also have this problem on all Windows, MacOS and iOS devices that I have access to. So I don't believe it's a 'clear caching' thing.
by Egregius
Friday 03 January 2025 8:46
Forum: Forum feedback
Topic: Login from new MacBook doesn't work
Replies: 2
Views: 2671

Re: Login from new MacBook doesn't work

What browser are you using?
Just tested in Chrome 131 on MacOS 15.2 in a private window and I could login normally.
by Egregius
Friday 11 October 2024 9:23
Forum: Other questions and discussions
Topic: security dz website/wiki since hack
Replies: 9
Views: 1557

Re: security dz website/wiki since hack

I find it quite annoying to have to wait a few seconds for the forum to open. Because of this I come less online here.
by Egregius
Saturday 10 August 2024 17:58
Forum: Temperature and Weather
Topic: Best weather API for 3/6 hour prediction for Europe
Replies: 13
Views: 4841

Re: Best weather API for 3/6 hour prediction for Europe

Why not just use apis that work with lat/lon? Would be a lot easier.
by Egregius
Monday 05 August 2024 7:33
Forum: Temperature and Weather
Topic: Best weather API for 3/6 hour prediction for Europe
Replies: 13
Views: 4841

Re: Best weather API for 3/6 hour prediction for Europe

I use several weather services and calculate average of them. These are all based on latitude/longtitude:


https://api.openweathermap.org/data/3.0/onecall?lat=50.9929&lon=3.2112&exclude=minutely,daily,alerts&units=metric&appid=APPID
https://api.weatherapi.com/v1/current.json?q=50.9929,3.2112&key ...
by Egregius
Friday 12 April 2024 4:54
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

I already guessed it would be the recorder. I disabled default config to disable history and recorder completely. Still 3GB written each day :o
by Egregius
Saturday 06 April 2024 9:43
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

sincze wrote: Monday 26 February 2024 13:51 creates a 30GB DB in 10 days... (because I forwarded some devices to domoticz to it...) it is crazy.
Did you find anything to limit the db size? I'm searching for avoiding disk writes but can't get it lower than 3GB/day for hass. My domoticz server only writes 200MB/day.
by Egregius
Tuesday 27 February 2024 13:34
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

Aha, was truly simple to have it al in mqtt, just had to add the binary_sensor line.

Code: Select all

mqtt_statestream:
  base_topic: homeassistant
  include:
    domains:
      - switch
      - sensor
      - binary_sensor
by Egregius
Tuesday 27 February 2024 13:02
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

Data from hass 2 php is still partially done with the rest command. I have this in my config:
rest_command:
eufy_doorbell:
url: "http://192.168.2.2/secure/pass4hass.php"
method: post
content_type: "application/x-www-form-urlencoded"
payload: "d=eufy&a=doorbell"

and in automations:
- id ...
by Egregius
Monday 12 February 2024 16:16
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

I see in the logfiles that I get 0, 1 and 10. Didn't test in what condition what enters.
The OS shouldn't make a difference indeed. But pass4mqtt replaces pass2php. The main benefit is that it also links up to HASS.
by Egregius
Monday 12 February 2024 12:39
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 844094

Re: Pass2PHP

I'm on stable 2024.4.

Didn't notice anything yet. I must add that I don't really have color switch besides my Xiaomi hub which I only use for a green or red light.
by Egregius
Wednesday 17 January 2024 8:58
Forum: Bash / PowerShell / Batch etc.
Topic: Install files save script (Linux)
Replies: 9
Views: 6402

Re: Install files save script (Linux)

Wouldn't it be better to first check if there's a newer version available?
This url will give you that info:
http://ip:port/json.htm?type=command&param=checkforupdate&forced=true
by Egregius
Saturday 23 December 2023 16:25
Forum: Other questions and discussions
Topic: Upgrade to Bullseye went wrong.
Replies: 8
Views: 2584

Re: Upgrade to Bullseye went wrong.

What's the content of /etc/apt/sources.list and /etc/apt/sources.list.d/?
by Egregius
Friday 22 December 2023 7:51
Forum: Other questions and discussions
Topic: Upgrade to Bullseye went wrong.
Replies: 8
Views: 2584

Re: Upgrade to Bullseye went wrong.

Did you reboot?
by Egregius
Thursday 21 December 2023 16:51
Forum: Other questions and discussions
Topic: Upgrade to Bullseye went wrong.
Replies: 8
Views: 2584

Re: Upgrade to Bullseye went wrong.

I have never used full-upgrade before. These are my steps normally;

Before changing sources:
apt update
apt upgrade

Change sources to new release
apt update
apt upgrade
apt dist-upgrade
reboot