Commit Graph

151 Commits

Author SHA1 Message Date
Jarno Rankinen efbfe72bba Disable Add to project action 2023-10-09 21:12:45 +03:00
Jarno Rankinen af4405550c v0.0.27 Added --disable-auth flag and disable_auth: true|false config options. Disables HTTP authentication. build script added to repo. Closes gh-31 2023-10-09 21:08:26 +03:00
Jarno Rankinen 951e3ba493 v0.0.26 - Usable on a daily basis
- Added 'Temperature delta' template sensor, measures difference
  between Room temp vs Temp setpoint (+1.0 = room is 1 degree above
  setpoint)
- Added input helper, rest commands and binary sensor for disabling/enabling
  after heater element
- Updated English dashboard to match Finnish one
- Alert support is the major thing missing
- Automations to override Pingvin's own are under testing
2023-04-07 22:26:14 +03:00
Jarno Rankinen 87482c793a
Physical connection instructions 2023-04-04 22:41:47 +03:00
Jarno Rankinen 19d4d3d78b
images continued 2023-04-04 22:40:50 +03:00
Jarno Rankinen 1d1d2990a4
images 2023-04-04 22:21:25 +03:00
Jarno Rankinen f31cf085ca
install instructions continued 2023-04-04 22:11:45 +03:00
Jarno Rankinen 5a1f0d298f
Update README.md
Install instructions 1
2023-04-04 21:53:06 +03:00
Jarno Rankinen 789a92e2e4
Update README.md 2023-03-30 15:42:45 +03:00
Jarno Rankinen 9cfd61448d
Update README.md 2023-03-30 15:41:34 +03:00
Jarno Rankinen 11f2df4f6b
Update README.md 2023-03-30 15:24:10 +03:00
Jarno Rankinen 0231364589
Update README.md 2023-03-30 15:23:26 +03:00
Jarno Rankinen 2c12a88c6d
Update README.md 2023-03-30 15:22:55 +03:00
Jarno Rankinen 9b51caac9f
Update README.md 2023-03-30 15:21:59 +03:00
Jarno Rankinen f6e5039af6
Create LICENSE 2023-03-30 15:05:41 +03:00
Jarno Rankinen 5ecbe2a038
Update README.md 2023-03-30 15:00:16 +03:00
Jarno Rankinen 643eae3e5d Update README 2023-03-30 14:57:57 +03:00
Jarno Rankinen df42907f65
Update README.md 2023-03-28 22:16:36 +03:00
Jarno Rankinen 2a76c9a413 Configuring the serial path actually does something now 2023-03-20 20:55:20 +02:00
Jarno Rankinen 545897211e Ability to configure serial path 2023-03-20 20:29:00 +02:00
Jarno Rankinen ed67cac11c Updated README.md after removing Python sources 2023-03-15 22:19:50 +02:00
Jarno Rankinen a2970f1754 0.0.24 2023-03-15 22:09:06 +02:00
Jarno Rankinen 28548005b8 Remove unused statuslock Mutex 2023-03-15 21:42:16 +02:00
Jarno Rankinen c10df356d1 Pingvin.New returns pointer to instance 2023-03-15 21:40:37 +02:00
Jarno Rankinen c0798af980 Renamed PingvinKL type to Pingvin 2023-03-15 21:39:14 +02:00
Jarno Rankinen cb1b818b65 Renamed pingvin variable -> device 2023-03-15 21:35:23 +02:00
Jarno Rankinen 140e68aa13 Renamed packages 2023-03-15 21:29:57 +02:00
Jarno Rankinen 5224f92516 Moved Go files under repo root 2023-03-15 21:20:48 +02:00
Jarno Rankinen 2739a3d984 Combined .gitignores 2023-03-15 21:19:28 +02:00
Jarno Rankinen 208d7d05d7 Moved Python stuff to dedicated repo, preparing to clean up packagenaming 2023-03-15 21:17:59 +02:00
Jarno Rankinen ea0a62598a gh-28 Logfile configuration option and cli flag. Empty string means log to STDOUT. Closes gh-28 2023-03-14 23:44:04 +02:00
Jarno Rankinen 323c76af19 Squashed commit of the following:
commit 4062e62071
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Tue Mar 14 23:27:49 2023 +0200

    gh-3 config file entry and cli flag to enable the Prometheus exporter. Disabled by default.

commit df9e6d5471
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Tue Mar 14 23:13:36 2023 +0200

    gh-3 Prometheus exporter for unreserved coils

Closes gh-3
2023-03-14 23:28:09 +02:00
Jarno Rankinen 02312c522b Squashed commit of the following:
commit 4b3f7c6f45
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Tue Mar 14 12:36:03 2023 +0200

    Configuration file ~/.config/enervent-ctrl/configuration.yaml

    If the file does not exist, will be generated with default values.
    CLI flags override values from configuration file.

Closes gh-19
2023-03-14 12:37:34 +02:00
Jarno Rankinen d53e976a36 Squashed commit of the following:
commit 468bc33f7e
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Tue Mar 14 09:37:07 2023 +0200

    gh-7 Log failed authentications. Forked rocketlaunchr/https-go to add CN to the generated certifcate

commit 0e10c9d925
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Sun Mar 12 22:30:53 2023 +0200

    gh-7 Added HTTP basic authentication to REST API. Default credentials pingvin:enervent. Still need to implement logging failed auth requests. A log file option is also a good idea.

commit a3165db631
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Sun Mar 12 12:41:41 2023 +0200

    gh-7 Updated Home Assistant rest example to https

commit 54b555c523
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Sun Mar 12 12:25:53 2023 +0200

    gh-7 Enabled SSL encryption

commit 2738b60386
Author: Jarno Rankinen <jarno@oranki.net>
Date:   Sun Mar 12 12:07:36 2023 +0200

    gh-7 Implemented automatic self-signed SSL generation on startup under ~/.config/enervent-ctrl

Closes gh-7
2023-03-14 09:37:36 +02:00
Jarno Rankinen 0311605bae
Update README.md
Add mention about copyright.
2023-03-11 12:28:02 +02:00
Jarno Rankinen f95004a7bc
Update README.md 2023-03-11 12:20:08 +02:00
Jarno Rankinen 534fb5939d Implemented max cooling toggle to dashboard. Max heating is shown when the requested temperature is less than room temperature, otherwise Max cooling toggle is shown. Closes gh-22 2023-03-10 21:05:52 +02:00
Jarno Rankinen ec402259f4 Rename build directory to BUILD 2023-03-10 14:15:56 +02:00
Jarno Rankinen 778c249b9b gh-22 gh-6 ADashboard, rest entities, helpers and automations for boost and overpressure 2023-03-10 14:13:26 +02:00
Jarno Rankinen a5fbc53eba gh-6 Rework automations, as homeassistant.update_entity doesn't seem to be working for restful resources with multiple sensors 2023-03-10 13:47:34 +02:00
Jarno Rankinen c6741645b6 gh-6 update dashboard, helpers and automations for temperature setting via helper+automations.
Will postpone updating the english dashboard until most of the features are
done in the finnish version.
2023-03-10 12:03:52 +02:00
Jarno Rankinen 4b89aec1c5 0.0.17 Remove 'Days until service'. Closes gh-25 2023-03-10 11:13:07 +02:00
Jarno Rankinen a0dedc7fcd 0.0.16 Correct hreg addresses for humidity readings. Outside hum still shows 0%, will need to wait until summer to see if the reading works. Closes gh-26. Added 48h avg hum readings back to HASS dashboards 2023-03-10 11:09:36 +02:00
Jarno Rankinen a0bb5c3e69 temperature endpoint can take raw register value, full degrees C or a single decimal precision float degrees C value as parameter. up & down as parameters shift the temperature setpoint up or down a full degree. Closes gh-21 2023-03-09 22:35:43 +02:00
Jarno Rankinen 415bf638be gh-24 0.0.14 ReadCoil, WriteCoil, WriteCoils, andheckMutexCoils, now use common modbus.Client with proper locking 2023-03-09 22:18:12 +02:00
Jarno Rankinen afcbe06581 gh-24Rework of the locking mechanisms. The bug causinga deadlock was probably caused by locking bebefore calling another function that also tries to acquire the lock... 2023-03-09 22:05:46 +02:00
Jarno Rankinen c79f172f32 gh-24 WriteRegister uses common modbus.Client 2023-03-09 21:57:32 +02:00
Jarno Rankinen d0d26d346a gh-24 ReadRegister uses common modbus.Client 2023-03-09 21:51:43 +02:00
Jarno Rankinen 602a560cf9 gh-24 updateCoils and updateRegisters now use common modbus.Client 2023-03-09 21:26:28 +02:00
Jarno Rankinen a49978ee5f gh-21 PUT /api/v1/temperature/<action> for changing temperature setpoint 2023-03-09 16:15:54 +02:00