Git Product home page Git Product logo

ispindel's People

Contributors

apro avatar bernhardschlegel avatar charliwest avatar cwilling avatar dottoretozzi avatar emilio77 avatar fernandogarcia avatar gingerneil avatar iceaway avatar isaul32 avatar jensw2000 avatar knockimov avatar ldab avatar m0n5t3r avatar marcocla avatar matthbou avatar msbannert avatar peterschrott avatar pharmajap avatar piv3rt avatar pppedrillo avatar ronaldhiemstra avatar ryfow avatar stapelpanda avatar stuartraetaylor avatar thegreatgunbantoad avatar thormj avatar universam1 avatar vitotai avatar wvolz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ispindel's Issues

No WiFi Credentials

Can anyone shed any light on whats happening here please.
I've tried every possible combination of service type & tried to connect to different networks with correct lowercase passwords. Also swapped the 470 resistor for the BAT43, but the error msg below remains the same.
I found it odd that the Wifi BasicClient sketch connected to the network just fine
Any insight would be much appreciated

I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
*WM: WiFi save
*WM: Parameter
*WM: name
*WM: iSpindel000
*WM: Parameter
*WM: sleep
*WM: 10
*WM: Parameter
*WM: vfact
*WM: 191.80
*WM: Parameter
*WM:
*WM:
*WM: Parameter
*WM:
*WM:
*WM: Parameter
*WM: selAPI
*WM: 2
*WM: Parameter
*WM: token
*WM:
*WM: Parameter
*WM: server
*WM: 10.0.0.15
*WM: Parameter
*WM: port
*WM: 80
*WM: Parameter
*WM: url
*WM:
*WM: Parameter
*WM:
*WM:
*WM: Parameter
WM: POLYN
WM: -0.00031tilt^2+0.557
tilt-14.054
*WM: Sent wifi save page
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED

Exception (9):
epc1=0x401049a5 epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000

ctx: sys
sp: 3ffffd90 end: 3fffffb0 offset: 01a0

stack>>>
3fffff30: 086ff210 3ffefef0 3fff0704 60000600
3fffff40: 4022edbe 3ffeaab4 3fff0704 402081bb
3fffff50: 4022eec0 3ffeaab4 3ffefef0 08707e7d
3fffff60: 401048a2 02a303b5 3ffefef0 60000600
3fffff70: 40244945 3ffeaab4 3ffefef0 086ff210
3fffff80: 4024498a 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffeff10 3ffead40 00000004 402445bf
3fffffa0: 40000f49 40000f49 3fffdab0 40000f49
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vb6958986
~ld

FW 5.1.2
2.0.0(656edbf)
Worker run!
Boot-Mode: 2
mounting FS... mounted!

ERROR config corrupted
...........
ERROR no Wifi credentials

going to Config Mode
rl�d⸮⸮|�⸮l⸮|� ⸮ l⸮�b|⸮⸮�⸮�⸮{⸮cl⸮c⸮⸮gg⸮lnn⸮⸮⸮�c�p⸮⸮lsl{d�⸮r⸮g⸮#⸮nbp�⸮

3600000000sec Sleep is too long

Running Firmware 3.4.4 on a bare (not connected) Wemos D1 Mini powered by my PC to test before final assembly.
The firmware loads and runs, I can see the first data pushed to Ubidots OK, but then nothing ever again.
Checking the serial output via Arduino 1.8.2 desktop app is see the following, the sleep at the end catches my eye. If thats correct it sleeping for 41,666 days

After waiting 3.60 s, result 3
192.168.16.9
UBIDOTS: posting
POST /api/v1.6/devices/iSpindel000?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1
Host: things.ubidots.com
User-Agent: iSpindel000
Connection: close
Content-Type: application/json
Content-Length: 50

{"tilt":0.00,"temperature":-127.00,"battery":0.04}
WARNING: low Battery

sleeping: 3600000000sec

Schlitten

Servus,

mit welchem CAD wurde der Schlitten erstellt (Inventor, Catia,...?). Wäre es möglich, die CAD Datei - und nicht nur die STL Datei - zu veröffentlichen. Ich würde den Schlitten gerne um einen Clips für die Batterie erweitern. Dann braucht man keinen Kabelbinder (der immer anders sitzt) und die Messungen sind vergleichbarer.

Selbstverständlich würde ich meine Revision zur Verfügung stellen!

Viele Grüße,
Bernhard

PS: Gibt's nen Zeitplan, wann der Code online kommt?

Release source code?

Hi,

I'm interested in building your project, but you only release compiled BIN files. Do you plan on sharing the source code so one can learn from the code and alter the code for it's own needs?

iSpindel does not connect to CraftBeerPi

Hi,

I am trying to get ispindel to connect to craftbeerpi. In the Arduino console I see it send data, but cannot connect:
*WM: WiFi save
*WM: Parameter
*WM: name
*WM: MiSpindleOne
*WM: Parameter
*WM: sleep
*WM: 3
*WM: Parameter
*WM: vfact
*WM: 191.80
*WM: Parameter
*WM:
*WM:
*WM: Parameter
*WM:
*WM:
*WM: Parameter
*WM: selAPI
*WM: 2
*WM: Parameter
*WM: token
*WM:
*WM: Parameter
*WM: server
*WM: 192.168.3.33
*WM: Parameter
*WM: port
*WM: 5000
*WM: Parameter
*WM: url
*WM:
*WM: Sent wifi save page
ERROR: OW DISCONNECTED

Exception (9):
epc1=0x401049a5 epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000

ctx: sys
sp: 3ffffdb0 end: 3fffffb0 offset: 01a0

stack>>>
3fffff50: 00000056 00000001 4010410a 3ffee670
3fffff60: 4022b38d 3ffeef68 00000001 00000000
3fffff70: 4022666f 00000004 00000000 00000000
3fffff80: 3fff246c 40226066 3fffdab0 00000000
3fffff90: 3fffdcc0 3ffea578 00000000 4023b563
3fffffa0: 3ffea578 40000f49 3fffdab0 40000f49
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v04df3adb
~ld

FW 4.1.7
2.0.0(656edbf)
Worker run!
Boot-Mode: 2
mounting FS... mounted!
reading config file
opened config file

parsed json
parsed config:
{"Name":"MiSpindleOne","Token":"","Sleep":3,"Server":"192.168.3.33","API":2,"Port":5000,"URL":"","Vfact":191.80,"SSID":"","PSK":""}...........
ERROR no Wifi credentials

going to Config Mode
{d�l��|��l�|��� � l� c|������{�cd�b��gg�lgo��� c�p��drlrd��s�g�c�ocx��

I can make a connection to my RPi using TCP. I've got that working, but using the craftbeerpi setting it is not working. I build the firmware using Arduino 1.8.1 on Linux (Elementary OS). iSpindel is latest pull from github.

I tried to configure from a tablet, laptop and smartphone. No success. Same error. TCP works fine.

generic HTTP - optional Header

Hi,
I would like to send my data to splunk.
in splunk the token has to be set in the header, like in this curl request:
curl -k https://localhost:8088/services/collector/event -H "Authorization: Splunk B5A79AAD-D822-46CC-80D1-819F80D7BFB0" -d '{"event": "hello world"}'
would it be possible to add a header var to the generic http call?

regards,
-thomas

`getTemparature()` causes system crash and prevents saving of configuration

While saving configuration the program would crash with following stacktrace:

Exception (9):
epc1=0x40105a6d epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000

ctx: sys 
sp: 3ffffdb0 end: 3fffffb0 offset: 01a0

>>>stack>>>
3fffff50:  00000056 00000001 401051ee 3ffee030  
3fffff60:  4021cdbd 3ffee8e8 00000001 00000000  
3fffff70:  402183eb 00000004 00000000 00000000  
3fffff80:  3fff1cdc 40217de2 3fffdab0 00000000  
3fffff90:  3fffdcc0 3ffe9f60 00000000 4022fd4a  
3fffffa0:  3ffe9f60 40000f49 3fffdab0 40000f49  
<<<stack<<<

This translates to:

Exception 9: LoadStoreAlignmentCause: Load or store to an unaligned address

0x40105a6d: ets_timer_disarm at ?? line ?
0x401051ee: lmacTxFrame at ?? line ?
0x4021cdbd: ieee80211_getmgtframe at ?? line ?
0x402183eb: ppCheckTxIdle at ?? line ?
0x40217de2: ppPeocessRxPktHdr at ?? line ?
0x4022fd4a: wifi_set_status_led_output_level at ?? line ?

The error causes the board to reset and configuration is not saved. I observed it only in combination with WiFi functionality.

I use Amica ESP8266 NodeMCU 1.0 board connected via USB without a temperature probe or any other devices connected. The stacktrace varies, but it always happens in ets_timer_disarm routine. I looked at what is running in timer, and it was the flash function calling getTemperature() amongst the others. And there there is a delay(200). I am not sure about the reason for this delay. Perhaps a minimal waiting time before DS boots up. But if I remove it completely or reduce to 100ms, the error is not being reproduced and configuration is changed.

I understand that I don't use D1 mini, but they are the same chip. Also, I don't have temperature probe connected which probably causes the problem. But apparently there is an unfortunate combination of events that causes that and prevents from tinkering around with the code.

Proposed pull request: #49

Upd.: I'm reading the internet on those delays now, and it seems to me that those may actually be required for assuring a certain state of peripherals. Perhaps some sort of a small state machine could be an option instead of explicit delay.

Bare bones Wemos D1 mini config

Hi, Great project!

I'm attempting to load iSpindel onto a Wemos D1 mini barebones i.e. no sensors etc connected. Just to have a "play".

I can compile and upload the code but when I attempt to configure the Wifi settings then the s/w raises an exception and restarts the device.

I get the following serial output when I attempt to save the config data in the browser.

*WM: WiFi save
*WM: Parameter
*WM: name
*WM: iSpindel000
*WM: Parameter
*WM: sleep
*WM: 900
*WM: Parameter
*WM: vfact
*WM: 191.80
*WM: Parameter
*WM: 
*WM: 
*WM: Parameter
*WM: 
*WM: 
*WM: Parameter
*WM: selAPI
*WM: 6
*WM: Parameter
*WM: token
*WM: 
*WM: Parameter
*WM: server
*WM: 192.168.1.254
*WM: Parameter
*WM: port
*WM: 80
*WM: Parameter
*WM: url
*WM: 
*WM: Sent wifi save page
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED

Exception (9):
epc1=0x40105a6d epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000

ctx: sys 
sp: 3ffffdb0 end: 3fffffb0 offset: 01a0

>>>stack>>>
3fffff50:  00000056 00000001 401051ee 3ffee2e0  
3fffff60:  4021d025 3ffeeb98 00000001 00000000  
3fffff70:  40218653 00000004 00000000 00000000  
3fffff80:  3fff1f9c 4021804a 3fffdab0 00000000  
3fffff90:  3fffdcc0 3ffea1c0 00000000 4022c8d7  
3fffffa0:  3ffea1c0 40000f49 3fffdab0 40000f49  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v60000318
~ld
á
FW 4.1.7
1.5.3(aec24ac9)
Worker run!
Boot-Mode: 2
mounting FS... mounted!

ERROR config corrupted
...........
ERROR no Wifi credentials

going to Config Mode

Any thoughts ?

I'm using Arduino IDE v1.6.13 with ESP8266 board manager 2.3.0.

Thanks.

Flash Wemos D1 mini on a MAC

You mentioned a Win-tool for flashing Wemos.
I only have a Mac on my site. What will the right tool for flashing?
I tried Arduino IDE, but git a cimpilation error:

Arduino: 1.8.0 (Mac OS X), Board: "WeMos D1 R2 & mini, 80 MHz, 115200, 4M (3M SPIFFS)"

In file included from /Users/mst/Downloads/iSpindel-master/iSpindel/iSpindel.ino:16:0:
sketch/Ubidots.h:39:76: fatal error: ArduinoJson.h: No such file or directory
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson
^
compilation terminated.
exit status 1
Fehler beim Kompilieren für das Board WeMos D1 R2 & mini.

Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.

Sled material

I'm new to 3d printing, what material is best for the sled/drawer?

Always 5.338895 voltage

Hi

Any idea why my ispindle show 5.338895V ?

I have assambled one where voltage goes down after usage as it should, but this one still display 5.338895 v after 12 hours usage with submit every 15 sec?

pet preform

I can't find any pet preform like as suggested in my country, is there some place to buy one ( like ebay, aliexpress, etc) ?

is secure use another size/shape?

thanks.

New wifi network can not be saved

I build one unit with my friend and then when I arrived at my house I tried to configure my home wifi network, each time I try to save it's refusing to save. it.
any suggestions?

monitor.beer now support iSpindel

Not an issue, just to say that https://monitor.beer now support iSpindel 100%, you can now have full control during fermentation. No longer need for creating your own graphs etc. Just register, get three months free and if you like it pay a small monthly amount to continue using https://monitor.beer.

Continuous alcohol%.
Continuous yeast attenuation%.
Continuous fermentation%.
Continuous temperature.
Ongoing SG.
How long SG is stable in days.
Minimum temperature through fermentation.
Average temperature through fermentation.
Maximum temperature through fermentation.
Number of days fermentation.

FHEM config issue

There is a small issue in the FHEM config documentation in file docs/upload FHEM.md:

The line
return $cPlato;
in method CorrectPlato()
should be changed to
return $mPlato-$cPlato/100;

Thanx
Martin

Pelting XL dimensions

Hi,
Can you provide the dimensions (size and volume) of the Pelting XL? The website doesn't have them in stock and I was hoping to source from somewhere else. If I find a suitable replacement I'll help add it to your documentation.

Question Vfact for battery voltage?

Hi,

Thanks for a really great project.

I do not get how the vfact variable is used.

Does analogRead(A0); not give a value from 0 to 1023, referenced to 3.2 V?

float getBattery() {
analogRead(A0); // drop first read
return analogRead(A0) / my_vfact; Could you explain how this work?
//return analogRead(A0) * (3.2 / 1023.0) * divider ratio(5.5); Is it not this?
}

The divider ratio is based on the diagram with the extra 230 k Ohm from Vcc to A0.

Br

Battery voltage in ubidots always stays the same

Hi, I used my spindel for the first time in a brew last two weeks.
Now my voltage indicator in ubidots stayed all the two weeks at 4,45V when i measured it at the end of fermentation it was 3,70 V. What can i do to get ubidots to read the right voltage ?

Regards Willem

DS18B20P vs Ds18b20

I have been troubleshooting my temperature reading as it was 5 degrees too warm and after replacing the temperature sensor a few times (three times, one from another supplier plus I have re-soldered the whole board) I figured out that the sensors is a parasitic power only version... Is there any chance you could add support for this version in your code?

Thanks

Add a README.md to explain the purpose of the different drawer designs

Add a README.md to explain the purpose of the different drawer designs found here:

https://github.com/universam1/iSpindel/tree/master/drawer

Drawer-cachersworldXLv12.stl has a version number, and the highest, but Drawer-combo-short.stl was most recently changed. They look slightly different while Drawer-cachersworldXLv12.stl and Drawer-cachersworldXLv11.stl are indistinguishable to me. Some description is in place.

It looks like the kit here:
https://3d-mechatronics.de/en/ispindel-diy-set-komplett_151.html

Has either Drawer-cachersworldXLv11.stl or Drawer-cachersworldXLv12.stl

Weight

Hi again,

One question about weight in the tube. What are you using for weight and how much?

Thanks.

upload to http php exsample

Hi

I'm not a github expert, so I post my contribute here. It is php script there save data in a mysql database (instead of using the python script). It use the same database table use by the TCP example. Just insert db server, database name, user and password.

In the config of the i spindle set:
ispindle

Save the below code as index.php and place it domain.com/beer/index.php and the it will recive the data from the ispindle and store it in the database.

`<?PHP

$inputJSON = file_get_contents('php://input');

$data = json_decode($inputJSON);

$date = date("Y-m-d H:i:s");

$servername = "XXXX";
$dbname = "XXXX";
$username = "XXXX";
$password = "XXXX";

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}

$sql = "INSERT INTO Data (Timestamp, Name, ID, Angle, Temperature, Battery, ResetFlag, Gravity)
VALUES ('". $date. "', '". $data->name ."', '". $data->ID ."','". $data->angle ."','". $data->temperature ."','". $data->battery ."','','". $data->gravity ."')";

if ($conn->query($sql) === TRUE) {
echo "New record created successfully";
} else {
echo "Error: " . $sql . "
" . $conn->error;
}

$conn->close();

?>`

universal HTTP interface

Eine universelle Schnittstelle zum Datenaustausch soll festgelegt werden.

Variante 1:

  • HTTP POST
  • URL: http://<IP-Addresse>:<PORT>/api/spindel
  • Body: JSON
{
name: iSpindel01,
temperature: 20.5, 
angle: 89.5, 
battery: 84
}

Saving configuration make D2 crash and reboot

Hello,

I have a problem with my new Wemos D1 mini.

When I save configuration, the wemos crashed and reboot.

Here is my sefrial monitor log :
FW 5.2.1
2.0.0(656edbf)
Worker run!
Boot-Mode: 5

Double Reset detected
mounting FS... mounted!

ERROR config corrupted
...........
ERROR no Wifi credentials

going to Config Mode
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
*WM: Scan done
*WM: Adding parameter
*WM: name
*WM: Adding parameter
*WM: sleep
*WM: Adding parameter
*WM: vfact
*WM: Adding parameter
*WM:
*WM: Adding parameter
*WM:
*WM: Adding parameter
*WM: selAPI
*WM: Adding parameter
*WM: token
*WM: Adding parameter
*WM: server
*WM: Adding parameter
*WM: port
*WM: Adding parameter
*WM: url
*WM: Adding parameter
*WM:
*WM: Adding parameter
*WM: POLYN
started Portal
*WM: SET AP
*WM:
*WM: Configuring access point...
*WM: iSpindel
*WM: AP IP address:
*WM: 192.168.4.1
*WM: HTTP server started
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
*WM: Request redirected to captive portal
*WM: Request redirected to captive portal
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
*WM: Handle root
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
*WM: linksys
*WM: -69
*WM: MLS16722
*WM: -93
*WM: Sent config page
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED
*WM: WiFi save
*WM: Parameter
*WM: name
*WM: iSpindel000
*WM: Parameter
*WM: sleep
*WM: 900
*WM: Parameter
*WM: vfact
*WM: 191.80
*WM: Parameter
*WM:
*WM:
*WM: Parameter
*WM:
*WM:
*WM: Parameter
*WM: selAPI
*WM: 0
*WM: Parameter
*WM: token
*WM: 1234
*WM: Parameter
*WM: server
*WM:
*WM: Parameter
*WM: port
*WM: 80
*WM: Parameter
*WM: url
*WM:
*WM: Parameter
*WM:
*WM:
*WM: Parameter
WM: POLYN
WM: -0.00031tilt^2+0.557
tilt-14.054
*WM: Sent wifi save page
I2C ERROR: 0 con:0
ERROR: OW DISCONNECTED

Exception (9):
epc1=0x401048c5 epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000

ctx: sys
sp: 3ffffdb0 end: 3fffffb0 offset: 01a0

stack>>>
3fffff50: 00000056 00000001 4010407e 3ffef1b0
3fffff60: 402397e9 3ffeff78 00000001 00000000
3fffff70: 4022e8db 00000004 00000000 00000000
3fffff80: 3fff30ac 4022e2ce 3fffdab0 00000000
3fffff90: 3fffdcc0 3ffeb0a8 00000000 402388a3
3fffffa0: 3ffeb0a8 40000f49 3fffdab0 40000f49
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v00000000
~ld

FW 5.2.1
2.0.0(656edbf)
Worker run!
Boot-Mode: 2
mounting FS... mounted!

ERROR config corrupted
...........
ERROR no Wifi credentials

going to Config Mode

Thank you for your help.

Benoit

PCB file

I saw in the documents that somebody made a PCB specially for this project, is it possible to share the file and the method you made it?

Protected battery?

From the pictures it seems the suggested battery does not come with a protection circuit.
Aside from having to change the drawer, is it ok to use a battery with protection circuit?

Gravity points after dot

Is it possible to get more than 2 digits after dot?
There is a big difference between 1.06 and 1.07 in gravity calculation.

Disable DS18B20

Hi,

Is there any way to disable DS18B20? I wan`t to use the temp sensores on my brewpiless instead.

Deep sleep unreliable with resistor

Hi there,

Firstly wanted to say that you are doing an awesome job here. 👍

My iSpindle is setup with the Wemos D1 Mini PRO which works fine except, the iSpindle wouldn't wake up from deep sleep with the config as described in your Wiki. A quick google told me that this is a known issue with the Wemos in general (all models) and that replacing the 470 ohms resistor with a diode solves this issue.

Credits go to schufti in this forum post: http://www.esp8266.com/viewtopic.php?f=13&t=7918&start=24#sthash.9AUQQ49G.dpuf

" instead of experimenting with resistors and relying on the "it worked for me" value, it would be more technically correct to use a schottky diode (e.g. BAT43) to cleanly pull rst low without side effects when gpio16 is high.

p.s.: the cathode (ring) towards gpio16 ..."

It worked for me so thought id share and hopefully it works for others as well.

Cheers

Tcontrol support

Tcontrol should be supported as a backend.
Currently the communication required is a UDP frame.

The question @Zooms1 is, if the generic #3 HTTP approach would be possible to implement?

JSON to TCP Socket (no http)

As we already discussed by email, I'd like to write a small, very basic Python script that receives the iSpindle's data over a TCP socket, without any higher-level application protocol such as http.
The goal is to have a dedicated platform independent server for the spindle, with minimum overhead and battery drain.

The first step will be to simply write the data to a CSV file on a network share for Excel import.
Later I want to expand the capabilities to include database support and perhaps some http server functionality for client-side data retrieval.
The source code will of course be made available (it's Python, anyway..).

In order to accomplish this, I suggest the spindle sends a JSON string in the already defined format to a configurable IP Address (host name resolution would be nice-to-have) and TCP port (I suggest 9501 as a default).
After the transmission, the connection could simply be closed by the spindle, or I implement some response (no problem), for example ASCII 6 (ACK), and ASCII 21 (NAK) in case the transmission failed for some reason, perhaps even triggering the spindle to retry for a defined number of times before giving up.

On my side, I'm fully open to suggestions. Whatever works best for you.

Thanks again for your hard work!

wemos d1 mini pro FS problem

I have some problem with the firmware. I have a wemos d1 mini pro but every time i get this error

`FW 5.1.2
2.0.0(656edbf)
Worker run!
Boot-Mode: 6
power-cycle or reset detected, config mode
mounting FS... ERROR: failed to mount FS!

                                                                                                                                                                                                                            ERROR config corrupted
                                                                                                                                                                                                                                                  ...........
                                                                                                                                                                                                                                                             ERROR no Wifi credentials

       going to Config Mode
                           rll��|�l�|�l�b|����r�b�b��nn�lnn���bp��lrlrlp�n��l��bn�|l��b��nn�l��l`�nnl`nr���nb�lr��nb�l�l`�n�
                                                                                                                            FW 5.1.2
                                                                                                                                    2.0.0(656edbf)
                                                                                                                                                  Worker run!
                                                                                                                                                             Boot-Mode: 5

                                                                                                                                                                         Double Reset detected
                                                                                                                                                                                              mounting FS... ERROR: failed to mount FS!

                                                                                                                                                                                                                                       ERROR config corrupted
                                                                                                                                                                                                                                                             ...........
                                                                                                                                                                                                                                                                        ERROR no Wifi credentials

                  going to Config Mode
                                      *WM: Scan done

`

I also tried with older version but same thing happen. I flash it with -fs 4m and 16m. Same issue.

How can i do? Thanks!

Use DS18S20 instead of DS18B20

My supplier sent me the wrong temperature chips, so instead of the DS18B20 I got the DS18S20. This sensor does not support setting the resolution but other than that it should work the same.
However, I'm getting the "OW disconnected" error, which means (i think) that the one wire protocol did not initialise correctly. I commented out the part where the resolution is set and rebuilt the software. I'm still getting the error though...

Do you think this is a hardware problem, or are there other parts of the code that need to be changed to also support the DS18S20 temperature sensor?

Button zum "History löschen"

Das Config Menü (captive Portal) könnte einen Button zum Löschen der Historydaten bei UbiDots & Co. bekommen, damit man bei neuen Gärungen mit einem leeren Verlauf anfangen kann.
UbiDots stellt dafür z.B. eine DELETE API zur Verfügung.

turbidity sensor

Maybe for later on,
to put a led and sensor in the tube to monitor how clear the wash is.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.