I haven't gotten the node-hid stuff working yet, but I did make a stripped-down version of the 'du.ino' avr-side code from the node duino module. I ripped out the Servo stuff, changed all the Serial calls to DigiUSB, and took out the ping routines for the sake of memory. I'm thinking I can save a little more memory by reducing the 'cmd' and 'pin' parameters to just one byte, which will reduce the logic required to support 2-byte data chunks.
With my Digispark-tuned du.ino code, I was able to dynamically set pin states (toggling the status LED with both digital and analog writes) via the python 'write.py' script. For example, sending '!01p101.' to turn the LED on. The first '01' is the 'digitalWrite' command, the 'p1' is Pin 1, and the last '01' is the value to write. The '!' and '.' characters are the 'start' and 'end' sentinels. I could probably dispense with those, as well, reducing the memory requirements further.
I'll update here again when I have something