14 Commits

Author SHA1 Message Date
3923643708 Feat: Add connection success logging
Added a qDebug() statement in hgx11net::_connectHost() to log a
successful connection to the Hyperion server. This will help confirm
that the network connection is established before any commands are
attempted to be sent.
2025-08-14 02:48:26 +02:00
cd9a45c4f6 Feat: Add logging for outgoing JSON commands
Added a qDebug() statement in hgx11net::_sendCommand() to log the JSON
command string just before it is sent to the Hyperion server. This
will help in debugging why no results are appearing on the Hyperion
end, by confirming if commands are being sent and what their content is.
2025-08-14 02:47:38 +02:00
b6239241c9 Fix: Malformed JSON due to incorrect priority string construction
The JSON output sent to the Hyperion server was malformed, specifically
the "priority" field, leading to an "unterminated object" error.
This was caused by the _hyperionPriority_m variable (and
subsequently _priority_m in hgx11net) containing the literal
"priority:" string, which was then redundantly added during JSON
string construction.

This commit modifies:
- hgx11.cpp: To store only the numerical priority value in
  _hyperionPriority_m.
- hgx11net.cpp: To explicitly add the "priority:" key during JSON
  string construction in all relevant functions (clearLeds,
  setLedColor, _colorAdjustment, _thresholdAdjustment,
  _transformdAdjustment, _temperatureAdjustment, and _setImgSize).

This ensures that the generated JSON is correctly formatted.
2025-08-14 02:26:06 +02:00
53d90d0f91 Revert "feat: Add JSON logging to hgx11net.cpp"
This reverts commit 5a5f15fcca49faf7cadc2608ec8fe0543fe76a6d.
2025-08-14 02:08:00 +02:00
5a5f15fcca feat: Add JSON logging to hgx11net.cpp
Added qDebug() statements to log the JSON commands being sent to Hyperion for debugging purposes.
2025-08-14 02:07:10 +02:00
kevin
961afd2d9a Adds the Hyperion priority option. 2020-11-22 11:38:49 -05:00
kevin
7714250646 Minor fixes / improvements. 2020-11-22 09:44:44 -05:00
kevin
ed7ba36704 Block until image data is sent to Hyperion.
This prevents the socket buffer to overflow if the connection is too slow.
2019-06-27 07:43:15 -04:00
kevin
e68da0a4cc Add a new method for determining user inactivity.
Fix some bugs.
2019-06-26 19:15:32 -04:00
kevin
3f2c055515 Slightly optimize performance by caching some variables and frameskipping in the damage loop. 2019-06-24 15:57:32 -04:00
kevin
d39d4a687c Add functions / arguments to adjust LED's 2019-06-23 12:36:27 -04:00
kevin
02fc46794f Fix LED's not turning off when program ends 2019-06-23 09:10:24 -04:00
kevin
acafd14ec2 Properly reconnect to Hyperion server on disconnects. 2019-06-23 01:02:34 -04:00
kevin
4aa7578cf7 Adding files 2019-06-22 22:34:40 -04:00