Commit Graph

10 Commits

Author SHA1 Message Date
Jarno Rankinen 71e949f760 Highlight changed values in web looking glass pages (/coils, /registers) 2023-02-24 21:56:15 +02:00
Jarno Rankinen cd57adfb6a gh-5 Fix hide/show reserved checkbox inverted 2023-02-16 14:20:27 +02:00
Jarno Rankinen f204aeb4ad close gh-1 Added checkbox for showing/hiding reserved coil/register values 2023-02-12 14:30:25 +02:00
Jarno Rankinen 0baf86c67f gh-5 Update datatable on coil/register status pages instead of appending to it 2023-02-12 13:42:11 +02:00
Jarno Rankinen 21bfe7a9d5 gh-5 Show bitfields correctly again
Bump version to 0.0.3
2023-02-02 13:31:24 +02:00
Jarno Rankinen 64e3a4811a gh-5 Use dom manipulation for coils as well 2023-02-02 13:25:40 +02:00
Jarno Rankinen c29692ae3e gh-5 Improved JS render performance
Dramatically improved web table render time by using dom
manipulation instead of string concatenation for generating the
data table
2023-02-02 13:10:30 +02:00
Jarno Rankinen 48bdfd691b gh-5 Proper handling of bitfield data type 2023-02-02 00:07:36 +02:00
Jarno Rankinen 3990a0a833 gh-5 Register API route somewhat works now
Internal data handling needs much improvement, as signed/unsigned
integers and other data types are not yet handled.

Javascript seems like a really poor choice for parsing the html
table, currently it takes ~10 seconds to hande the data. API
response time is good, so probably switching to Go templates for
the dynamic tables is the best course of action. This will move
the load from clientside to serverside, hopefully the planned
RPi Zero W can handle the computations
2023-02-01 22:12:56 +02:00
Jarno Rankinen 81a7e5cb22 Serve everything from the binary instead of Nginx. Missing TLS, but that may not be a requirement at all 2023-02-01 21:52:55 +02:00