diff --git a/README.md b/README.md index 82c0b73..d76f6ca 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,11 @@ Don't forget to share and drop a link, when you do :) ![Image](https://apollo.open-resource.org/_media/mission:resources:picoreflow_webinterface_edit.jpg) -Based on MAX 31855 Cold-Junction K-Type Thermocouple and Raspberry Pi GPIO driven Solid State Relays. +## Hardware + + * Raspberry Pi (Rev 2B) + * MAX 31855/6675 Cold-Junction K-Type Thermocouple + * GPIO driven Solid-State-Relays/MOSFETs ## Installation diff --git a/config.py.EXAMPLE b/config.py.EXAMPLE index 6b2926a..242e505 100644 --- a/config.py.EXAMPLE +++ b/config.py.EXAMPLE @@ -10,7 +10,7 @@ log_format = '%(asctime)s %(levelname)s %(name)s: %(message)s' ### Server listening_ip = "0.0.0.0" -listening_port = 8080 +listening_port = 8081 ######################################################################## # @@ -29,10 +29,11 @@ gpio_air = 9 # Switches 0-phase det. solid-state-relay ### Inputs gpio_door = 18 -max31855 = 0 -max6675 = 1 +### Thermocouple Adapter selection (MAX31855 or MAX6675) +max31855 = 1 +max6675 = 0 -### MAX31855 K-Type Thermocouple I2C +### Thermocouple I2C Connection gpio_sensor_cs = 27 gpio_sensor_clock = 22 gpio_sensor_data = 17 diff --git a/public/assets/js/picoreflow.js b/public/assets/js/picoreflow.js index ceeadc2..fe4d8ce 100644 --- a/public/assets/js/picoreflow.js +++ b/public/assets/js/picoreflow.js @@ -7,7 +7,7 @@ var selected_profile = 0; var time_mode = 0; var selected_profile_name = "leadfree"; -var host = "ws://" + window.location.hostname + ":8080"; +var host = "ws://" + window.location.hostname + ":" + window.location.port; var ws_status = new WebSocket(host+"/status"); var ws_control = new WebSocket(host+"/control"); var ws_storage = new WebSocket(host+"/storage");