Hi @juhnke! so glad you made some progress with your computer. I just came to pick up where we left off and I’m still having trouble.
I’ve been using the wiki you wrote and its very helpful.
I also followed this instruction:
openag db load_fixture ~/catkin_ws/src/openag_brain/fixtures/default.json
and got a similar output as you did, except the firmware_module
had only 1 document instead of 2. I assumed that is where you added your firmware module:
{
"id": "dht221",
"type": "dht22",
"environment": "environment_1",
"arguments": [
2
],
"outputs": {
"air_temperature": {
"variable": "air_temperature"
}
},
"air_humidity": {
"variable": "air_humidity"
}
}
I wanted to do the exact same thing just to see if I could get what you got for this. So below are some photos detailing what I have done:
I took off the signal board arduino shield to ensure that wasn’t causing any issues. I just plugged in a DHT22 into the 5V, Gnd, and PWM2 pin
I’m just putting these to make sure that I’m doing the same thing you did.
After that I followed all of the rest of the steps. I didn’t see the error that you got when using the analog pin, even though I did give it a try. Also the “KeyError” you got is interesting because that is the key that you use for your “_id” I’m assuming.
Ok so after i flashed and restarted and everything I went to the rostopic list, but didn’t see the new sensor which you can see in the photo attached
So this is pretty much where I’m stuck, I couldn’t rostopic echo
the dht22 because I couldn’t find it and when I tried stuff it said that the topic hasn’t been published.
Would you have any idea where to go from here? I really want to get my PFC up and running 