diff --git a/hardware/sensehatsim/README.md b/hardware/sensehatsim/README.md
index c254e20d..c7ce03e4 100644
--- a/hardware/sensehatsim/README.md
+++ b/hardware/sensehatsim/README.md
@@ -1,8 +1,7 @@
node-red-node-pi-sense-hat-simulator
====================================
-A Node-RED node to simulate a
-Raspberry Pi Sense HAT.
+A node to simulate a Raspberry Pi Sense HAT.
This allows you to create flows that interact with a virtual Sense HAT without the actual
hardware - whether you're running on a Raspberry Pi, a laptop or elsewhere.
@@ -105,8 +104,6 @@ Format: `R`
#### Scroll a message
-**The current version of the simulator does not support displaying text**
-
If `msg.payload` is not recognised as any of the above commands, it is treated
as a text message to be scrolled across the screen.
diff --git a/hardware/sensehatsim/package.json b/hardware/sensehatsim/package.json
index 0a625a08..15fca0be 100644
--- a/hardware/sensehatsim/package.json
+++ b/hardware/sensehatsim/package.json
@@ -1,18 +1,22 @@
{
- "name" : "node-red-node-pi-sense-hat-simulator",
- "version" : "0.0.2",
- "description" : "A Node-RED node to simulate a Raspberry Pi Sense HAT",
- "repository" : {
- "type":"git",
- "url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/sensehatsim"
+ "name": "node-red-node-pi-sense-hat-simulator",
+ "version": "0.1.0",
+ "description": "A Node-RED node to simulate a Raspberry Pi Sense HAT",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/node-red/node-red-nodes/tree/master/hardware/sensehatsim"
},
"dependencies": {
- "ws": "0.8.1"
+ "ws": "~6.2.1"
},
"license": "Apache-2.0",
- "keywords": [ "node-red", "sensehat", "astropi" ],
- "node-red" : {
- "nodes" : {
+ "keywords": [
+ "node-red",
+ "sensehat",
+ "astropi"
+ ],
+ "node-red": {
+ "nodes": {
"sensehatsim": "sensehatsim.js"
}
},
diff --git a/hardware/sensehatsim/public/index.html b/hardware/sensehatsim/public/index.html
index 8267bf49..c419169a 100644
--- a/hardware/sensehatsim/public/index.html
+++ b/hardware/sensehatsim/public/index.html
@@ -25,6 +25,9 @@
box-shadow: 2px 2px 1px #99cc99;
}
+ #display.low_brightness .led {
+ filter: brightness(0.6);
+ }
.led {
background-color: #000;
border: 1px solid #eee;
@@ -162,6 +165,9 @@